Companion

object Companion

Properties

Link copied to clipboard
const val FUNCTOR: String

The canonical clause functor: :- (same as Clause.FUNCTOR).

Functions

Link copied to clipboard
fun of(head: Struct): Fact

Creates a Fact with the given head.

Link copied to clipboard
fun template(functor: String, arity: Int): Fact

Creates a Fact template: a head with functor and arity anonymous-variable arguments. See Struct.template.