Companion

object Companion

Functions

Link copied to clipboard
fun empty(): Theory

Creates an empty Theory

Link copied to clipboard
fun emptyIndexed(): Theory

Creates an empty Theory backed by an indexed data structure

Link copied to clipboard
fun emptyListed(): Theory

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

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

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

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

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

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

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

Let developers easily create a Theory 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>): Theory
fun of(clauses: Iterable<<ERROR CLASS>>): Theory
fun of(clauses: Sequence<<ERROR CLASS>>): Theory

Creates a Theory, containing the given clauses

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

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