Companion

object Companion

Functions

Link copied to clipboard
fun empty(): MutableTheory

Creates an empty MutableTheory

Link copied to clipboard
fun emptyIndexed(): MutableTheory

Creates an empty MutableTheory backed by an indexed data structure

Link copied to clipboard
fun emptyListed(): MutableTheory

Creates a MutableTheory backed by a list, containing the given clauses

Link copied to clipboard
fun indexedOf(vararg clause: <ERROR CLASS>): MutableTheory
fun indexedOf(clauses: Iterable<<ERROR CLASS>>): MutableTheory
fun indexedOf(clauses: Sequence<<ERROR CLASS>>): MutableTheory

Creates a MutableTheory backed by an indexed data structure, containing the given clauses

fun indexedOf(vararg clauses: <ERROR CLASS>.() -> <ERROR CLASS>): 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

Link copied to clipboard
fun listedOf(vararg clause: <ERROR CLASS>): MutableTheory
fun listedOf(clauses: Iterable<<ERROR CLASS>>): MutableTheory
fun listedOf(clauses: Sequence<<ERROR CLASS>>): MutableTheory

Creates a MutableTheory backed by a list, containing the given clauses

fun listedOf(vararg clause: <ERROR CLASS>.() -> <ERROR CLASS>): MutableTheory

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

Link copied to clipboard
fun of(vararg clause: <ERROR CLASS>): MutableTheory
fun of(clauses: Iterable<<ERROR CLASS>>): MutableTheory
fun of(clauses: Sequence<<ERROR CLASS>>): MutableTheory

Creates a MutableTheory, containing the given clauses

fun of(vararg clauses: <ERROR CLASS>.() -> <ERROR CLASS>): MutableTheory

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