Companion

object Companion

Functions

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