Companion

object Companion

Properties

Link copied to clipboard

A TermVisitor checking whether a term respects the body constraints part of isWellFormed.

Link copied to clipboard
const val FUNCTOR: String

The canonical clause functor: :-

Link copied to clipboard

The functors (Tuple, if-then, if-then-else) whose arguments matter for isWellFormed's body check.

Functions

Link copied to clipboard
fun of(head: Struct? = null, body: Iterable<Term>): Clause
fun of(head: Struct? = null, vararg body: Term): Clause

Creates a Clause: a Rule if head is non-null, a Directive otherwise.

fun of(head: Struct? = null, body: Sequence<Term>): Clause