Companion

object Companion

Functions

Link copied to clipboard

Creates an empty MutableTheory

Link copied to clipboard

Creates an empty MutableTheory backed by an indexed data structure

Link copied to clipboard

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

Link copied to clipboard
fun indexedOf(unificator: Unificator, vararg clause: Clause): MutableTheory

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

fun indexedOf(unificator: Unificator, 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

Link copied to clipboard
fun listedOf(unificator: Unificator, vararg clause: Clause): MutableTheory

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

fun listedOf(unificator: Unificator, 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

Link copied to clipboard
fun of(unificator: Unificator, clauses: Iterable<Clause>): MutableTheory
fun of(unificator: Unificator, clauses: Sequence<Clause>): MutableTheory
fun of(unificator: Unificator, vararg clause: Clause): MutableTheory

Creates a MutableTheory, containing the given clauses

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

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