indexedOf

fun indexedOf(vararg clause: Clause): Theory
fun indexedOf(clauses: Sequence<Clause>): Theory
fun indexedOf(clauses: Iterable<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