template

fun template(functor: String, arity: Int): Struct

Creates a new Struct with functor as functor and a given amount of anonymous Variables, namely arity. Instances of Struct are always created of the most adequate sub-type of Struct.

Return

a new instance of Struct

See also

Throws