Companion

object Companion

Functions

empty
Link copied to clipboard
fun empty(): Theory
Creates an empty Theory
emptyIndexed
Link copied to clipboard
fun emptyIndexed(): Theory
Creates an empty Theory backed by an indexed data structure
emptyListed
Link copied to clipboard
fun emptyListed(): Theory
Creates a Theory backed by a list, containing the given clauses
indexedOf
Link copied to clipboard
fun indexedOf(vararg clause: Clause): Theory
Creates a Theory backed by an indexed data structure, containing the given clauses
fun indexedOf(vararg clauses: Scope.() -> Clause): Theory
Let developers easily create a Theory backed by an indexed data structure, while avoiding variables names clashing by using a different Scope for each Clause
fun indexedOf(clauses: Iterable<Clause>): Theory
Creates a Theory backed by an indexed data structure, containing the given clauses
fun indexedOf(clauses: Sequence<Clause>): Theory
Creates a Theory backed by an indexed data structure, containing the given clauses
listedOf
Link copied to clipboard
fun listedOf(vararg clause: Clause): Theory
Creates a Theory backed by a list, containing the given clauses
fun listedOf(vararg clause: Scope.() -> Clause): Theory
Let developers easily create a Theory backed by a list, while avoiding variables names clashing by using a different Scope for each Clause
fun listedOf(clauses: Iterable<Clause>): Theory
Creates a Theory backed by a list, containing the given clauses
fun listedOf(clauses: Sequence<Clause>): Theory
Creates a Theory backed by a list, containing the given clauses
of
Link copied to clipboard
fun of(vararg clause: Clause): Theory
Creates a Theory, containing the given clauses
fun of(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(clauses: Iterable<Clause>): Theory
Creates a Theory, containing the given clauses
fun of(clauses: Sequence<Clause>): Theory
Creates a Theory, containing the given clauses