of

fun of(unificator: Unificator, vararg clause: Clause): Theory
fun of(unificator: Unificator, clauses: Iterable<Clause>): Theory
fun of(unificator: Unificator, clauses: Sequence<Clause>): Theory

Creates a Theory, containing the given clauses


fun of(vararg clause: Clause): Theory

Creates a Theory, containing the given clauses, using the default unificator


fun of(unificator: Unificator, vararg clauses: Scope.() -> Clause): Theory

Let developers easily create a Theory, while avoiding variables names clashing by using a different Scope for each Clause


fun of(vararg clauses: Scope.() -> Clause): Theory

Let developers easily create a Theory using the default unificator, while avoiding variables names clashing by using a different Scope for each Clause