Companion

object Companion

Functions

Link copied to clipboard

Creates an empty ClauseQueue

Link copied to clipboard

Tells whether queue1 and queue2 contain the same clauses, in the same order.

Link copied to clipboard

Computes a hash code for queue, consistent with equals.

Link copied to clipboard
fun of(unificator: Unificator, clauses: Iterable<Clause>): ClauseQueue

Creates a ClauseQueue from the given Iterable of Clause

fun of(unificator: Unificator, clauses: Sequence<Clause>): ClauseQueue

Creates a ClauseQueue from the given Sequence of Clause

fun of(unificator: Unificator, vararg clause: Clause): ClauseQueue

Creates a ClauseQueue with given clauses

fun of(unificator: Unificator, vararg clause: Scope.() -> Clause): ClauseQueue

Let developers easily create a ClauseQueue programmatically while avoiding variables names clashing