PrologScopeWithTheories

interface PrologScopeWithTheories : PrologScopeWithUnification

Types

Companion
Link copied to clipboard
object Companion

Functions

!=
Link copied to clipboard
open infix fun Any.!=(right: Any): Struct
!==
Link copied to clipboard
open infix fun Any.!==(right: Any): Struct
**
Link copied to clipboard
open infix fun Any.**(right: Any): Struct
=
Link copied to clipboard
open infix fun Any.=(right: Any): Struct
=!=
Link copied to clipboard
open infix fun Any.=!=(right: Any): Struct
==
Link copied to clipboard
open infix fun Any.==(right: Any): Struct
===
Link copied to clipboard
open infix fun Any.===(right: Any): Struct
^
Link copied to clipboard
open infix fun Any.^(right: Any): Struct
abolish
Link copied to clipboard
open fun abolish(indicator: Any): Struct
and
Link copied to clipboard
open infix fun Any.and(other: Any): Struct
anonymous
Link copied to clipboard
abstract fun anonymous(): Var
append
Link copied to clipboard
abstract fun <T> List<T>.append(item: T, vararg items: T): List<T>
open fun append(left: Any, right: Any, result: Any): Struct
arg
Link copied to clipboard
open fun arg(index: Any, compound: Any, argument: Any): Struct
assert
Link copied to clipboard
open fun assert(clause: Any): Struct
asserta
Link copied to clipboard
open fun asserta(clause: Any): Struct
assertz
Link copied to clipboard
open fun assertz(clause: Any): Struct
at_end_of_stream
Link copied to clipboard
open fun at_end_of_stream(alias: Any): Struct
atom
Link copied to clipboard
open fun atom(atom: Any): Struct
atom_chars
Link copied to clipboard
open fun atom_chars(atom: Any, chars: Any): Struct
atom_codes
Link copied to clipboard
open fun atom_codes(atom: Any, codes: Any): Struct
atom_concat
Link copied to clipboard
open fun atom_concat(first: Any, second: Any, result: Any): Struct
atom_length
Link copied to clipboard
open fun atom_length(atom: Any, length: Any): Struct
atomic
Link copied to clipboard
open fun atomic(atomic: Any): Struct
atomOf
Link copied to clipboard
abstract fun atomOf(value: String): Atom
bagof
Link copied to clipboard
open fun bagof(template: Any, goal: Any, bag: Any): Struct
between
Link copied to clipboard
open fun between(min: Any, max: Any, number: Any): Struct
blockOf
Link copied to clipboard
abstract fun blockOf(vararg terms: Term): Block
abstract fun blockOf(terms: Iterable<Term>): Block
abstract fun blockOf(terms: Sequence<Term>): Block
open fun blockOf(vararg terms: Any): Block
call
Link copied to clipboard
open fun call(goal: Any): Struct
callable
Link copied to clipboard
open fun callable(goal: Any): Struct
catch
Link copied to clipboard
open fun catch(goal: Any, error: Any, continuation: Any): Struct
char_code
Link copied to clipboard
open fun char_code(char: Any, code: Any): Struct
clause
Link copied to clipboard
open fun clause(function: PrologScope.() -> Any): Clause
open fun clause(head: Any, body: Any): Struct
clauseOf
Link copied to clipboard
abstract fun clauseOf(head: Struct?, vararg body: Term): Clause
compound
Link copied to clipboard
open fun compound(struct: Any): Struct
concat
Link copied to clipboard
abstract fun <T> List<T>.concat(other: Iterable<T>): List<T>
consOf
Link copied to clipboard
abstract fun consOf(head: Term, tail: Term): Cons
open fun consOf(head: Any, tail: Any): Cons
consult
Link copied to clipboard
open fun consult(url: Any): Struct
contains
Link copied to clipboard
abstract operator fun contains(variable: Var): Boolean
abstract operator fun contains(variable: String): Boolean
open operator fun Substitution.contains(term: Any): Boolean
containsKey
Link copied to clipboard
open fun Substitution.containsKey(term: Any): Boolean
containsValue
Link copied to clipboard
open fun Substitution.containsValue(term: Any): Boolean
copy_term
Link copied to clipboard
open fun copy_term(term: Any, copy: Any): Struct
current_flag
Link copied to clipboard
open fun current_flag(name: Any, value: Any): Struct
current_op
Link copied to clipboard
open fun current_op(precedence: Any, specifier: Any, functor: Any): Struct
current_prolog_flag
Link copied to clipboard
open fun current_prolog_flag(name: Any, value: Any): Struct
directive
Link copied to clipboard
open fun directive(function: PrologScope.() -> Any): Directive
directiveOf
Link copied to clipboard
abstract fun directiveOf(body1: Term, vararg body: Term): Directive
open fun directiveOf(term: Any, vararg terms: Any): Directive
div
Link copied to clipboard
open operator fun Any.div(other: Any): Indicator
dynamic
Link copied to clipboard
open fun dynamic(indicator: Any): Struct
equalsTo
Link copied to clipboard
open infix fun Any.equalsTo(other: Any): Struct
fact
Link copied to clipboard
open fun fact(function: PrologScope.() -> Any): Fact
factOf
Link copied to clipboard
abstract fun factOf(head: Struct): Fact
open fun factOf(term: Any): Fact
findall
Link copied to clipboard
open fun findall(template: Any, goal: Any, bag: Any): Struct
float
Link copied to clipboard
open fun float(number: Any): Struct
functor
Link copied to clipboard
open fun functor(struct: Any, functor: Any, arity: Any): Struct
get
Link copied to clipboard
abstract operator fun get(variable: String): Var?
open operator fun Substitution.get(term: Any): Term?
greaterThan
Link copied to clipboard
open infix fun Any.greaterThan(other: Any): Struct
greaterThanOrEqualsTo
Link copied to clipboard
open infix fun Any.greaterThanOrEqualsTo(other: Any): Struct
ground
Link copied to clipboard
open fun ground(term: Any): Struct
if
Link copied to clipboard
open infix fun Any.if(other: Any): Rule
open fun Any.if(vararg other: Any): Rule
impliedBy
Link copied to clipboard
open infix fun Any.impliedBy(other: Any): Rule
open fun Any.impliedBy(vararg other: Any): Rule
include
Link copied to clipboard
open fun include(url: Any): Struct
indicatorOf
Link copied to clipboard
abstract fun indicatorOf(name: Term, arity: Term): Indicator
abstract fun indicatorOf(name: String, arity: Int): Indicator
initialization
Link copied to clipboard
open fun initialization(goal: Any): Struct
intDiv
Link copied to clipboard
open infix fun Any.intDiv(other: Any): Struct
integer
Link copied to clipboard
open fun integer(number: Any): Struct
intOf
Link copied to clipboard
abstract fun intOf(value: Byte): Integer
abstract fun intOf(value: Int): Integer
abstract fun intOf(value: Long): Integer
abstract fun intOf(value: Short): Integer
abstract fun intOf(value: String): Integer
abstract fun intOf(value: BigInteger): Integer
abstract fun intOf(value: String, radix: Int): Integer
invoke
Link copied to clipboard
open operator fun String.invoke(term: Any, vararg terms: Any): Struct
is
Link copied to clipboard
open infix fun Any.is(other: Any): Struct
ktEmptyList
Link copied to clipboard
abstract fun <T> ktEmptyList(): List<T>
ktEmptySet
Link copied to clipboard
abstract fun <T> ktEmptySet(): Set<T>
ktListOf
Link copied to clipboard
abstract fun <T> ktListOf(vararg items: T): List<T>
ktSetOf
Link copied to clipboard
abstract fun <T> ktSetOf(vararg items: T): Set<T>
list
Link copied to clipboard
open fun list(vararg items: Any, tail: Any?): List
listFrom
Link copied to clipboard
abstract fun listFrom(vararg terms: Term, last: Term?): List
abstract fun listFrom(terms: Iterable<Term>, last: Term?): List
abstract fun listFrom(terms: Sequence<Term>, last: Term?): List
listOf
Link copied to clipboard
abstract fun listOf(vararg terms: Term): List
abstract fun listOf(terms: Iterable<Term>): List
abstract fun listOf(terms: Sequence<Term>): List
open fun listOf(vararg terms: Any): List
load
Link copied to clipboard
open fun load(url: Any): Struct
lowerThan
Link copied to clipboard
open infix fun Any.lowerThan(other: Any): Struct
lowerThanOrEqualsTo
Link copied to clipboard
open infix fun Any.lowerThanOrEqualsTo(other: Any): Struct
match
Link copied to clipboard
open fun match(term1: Term, term2: Term): Boolean
open fun match(term1: Any, term2: Any, occurCheckEnabled: Boolean): Boolean
open fun match(term1: Term, term2: Term, occurCheckEnabled: Boolean): Boolean
matches
Link copied to clipboard
open infix fun Any.matches(other: Any): Boolean
member
Link copied to clipboard
open fun member(item: Any, list: Any): Struct
merge
Link copied to clipboard
open fun merge(substitution1: Substitution, substitution2: Substitution): Substitution
abstract fun merge(substitution1: Substitution, substitution2: Substitution, occurCheckEnabled: Boolean): Substitution
mgu
Link copied to clipboard
open fun mgu(term1: Term, term2: Term): Substitution
open fun mgu(term1: Any, term2: Any, occurCheckEnabled: Boolean): Substitution
abstract fun mgu(term1: Term, term2: Term, occurCheckEnabled: Boolean): Substitution
mguWith
Link copied to clipboard
open infix fun Any.mguWith(other: Any): Substitution
minus
Link copied to clipboard
open operator fun Any.minus(other: Any): Struct
naf
Link copied to clipboard
open fun naf(goal: Any): Struct
natural
Link copied to clipboard
open fun natural(number: Any): Struct
nonGreaterThan
Link copied to clipboard
open infix fun Any.nonGreaterThan(other: Any): Struct
nonLowerThan
Link copied to clipboard
open infix fun Any.nonLowerThan(other: Any): Struct
nonvar
Link copied to clipboard
open fun nonvar(number: Any): Struct
not
Link copied to clipboard
open fun not(goal: Any): Struct
notEqualsTo
Link copied to clipboard
open infix fun Any.notEqualsTo(other: Any): Struct
number
Link copied to clipboard
open fun number(number: Any): Struct
number_chars
Link copied to clipboard
open fun number_chars(first: Any, second: Any): Struct
number_codes
Link copied to clipboard
open fun number_codes(first: Any, second: Any): Struct
numOf
Link copied to clipboard
abstract fun numOf(value: Byte): Integer
abstract fun numOf(value: Double): Real
abstract fun numOf(value: Float): Real
abstract fun numOf(value: Int): Integer
abstract fun numOf(value: Long): Integer
abstract fun numOf(value: Number): Numeric
abstract fun numOf(value: Short): Integer
abstract fun numOf(value: String): Numeric
abstract fun numOf(value: BigDecimal): Real
abstract fun numOf(value: BigInteger): Integer
op
Link copied to clipboard
open fun op(precedence: Any, specifier: Any, functor: Any): Struct
or
Link copied to clipboard
open infix fun Any.or(other: Any): Struct
plus
Link copied to clipboard
open operator fun Any.plus(other: Any): Struct
pow
Link copied to clipboard
open infix fun Any.pow(other: Any): Struct
realOf
Link copied to clipboard
abstract fun realOf(value: Double): Real
abstract fun realOf(value: Float): Real
abstract fun realOf(value: String): Real
abstract fun realOf(value: BigDecimal): Real
rem
Link copied to clipboard
open operator fun Any.rem(other: Any): Struct
retract
Link copied to clipboard
open fun retract(clause: Any): Struct
retractall
Link copied to clipboard
open fun retractall(clause: Any): Struct
rule
Link copied to clipboard
open fun rule(function: PrologScope.() -> Any): Rule
ruleOf
Link copied to clipboard
abstract fun ruleOf(head: Struct, body1: Term, vararg body: Term): Rule
scope
Link copied to clipboard
open fun <R> scope(function: PrologScope.() -> R): R
set_flag
Link copied to clipboard
open fun set_flag(name: Any, value: Any): Struct
set_prolog_flag
Link copied to clipboard
open fun set_prolog_flag(name: Any, value: Any): Struct
setof
Link copied to clipboard
open fun setof(template: Any, goal: Any, bag: Any): Struct
solve
Link copied to clipboard
open fun solve(goal: Any): Struct
static
Link copied to clipboard
open fun static(indicator: Any): Struct
structOf
Link copied to clipboard
abstract fun structOf(functor: String, vararg args: Term): Struct
abstract fun structOf(functor: String, args: Iterable<Term>): Struct
abstract fun structOf(functor: String, args: List<Term>): Struct
abstract fun structOf(functor: String, args: Sequence<Term>): Struct
open fun structOf(functor: String, vararg args: Any): Struct
sub_atom
Link copied to clipboard
open fun sub_atom(atom: Any, before: Any, length: Any, after: Any, sub_atom: Any): Struct
sup
Link copied to clipboard
open infix fun Any.sup(other: Any): Struct
then
Link copied to clipboard
open infix fun Any.then(other: Any): Struct
theory
Link copied to clipboard
open fun theory(vararg clauseFunctions: PrologScope.() -> Any): Theory
theoryOf
Link copied to clipboard
open fun theoryOf(vararg clause: Clause): Theory
open fun theoryOf(clauses: Iterable<Clause>, vararg otherClauses: Iterable<Clause>): Theory
open fun theoryOf(clauses: Sequence<Clause>, vararg otherClauses: Sequence<Clause>): Theory
throw
Link copied to clipboard
open fun throw(error: Any): Struct
times
Link copied to clipboard
open operator fun Any.times(other: Any): Struct
to
Link copied to clipboard
open infix fun Var.to(termObject: Any): Substitution.Unifier
open infix fun String.to(termObject: Any): Substitution.Unifier
toTerm
Link copied to clipboard
abstract fun Any.toTerm(): Term
truthOf
Link copied to clipboard
abstract fun truthOf(value: Boolean): Truth
tupleOf
Link copied to clipboard
abstract fun tupleOf(vararg terms: Term): Tuple
abstract fun tupleOf(terms: Iterable<Term>): Tuple
abstract fun tupleOf(terms: Sequence<Term>): Tuple
open fun tupleOf(vararg terms: Any): Tuple
unify
Link copied to clipboard
open fun unify(term1: Term, term2: Term): Term?
open fun unify(term1: Any, term2: Any, occurCheckEnabled: Boolean): Term?
open fun unify(term1: Term, term2: Term, occurCheckEnabled: Boolean): Term?
unifyWith
Link copied to clipboard
open infix fun Any.unifyWith(other: Any): Term?
univ
Link copied to clipboard
open infix fun Any.univ(other: Any): Struct
var
Link copied to clipboard
open fun var(term: Any): Struct
varOf
Link copied to clipboard
abstract fun varOf(name: String): Var
whatever
Link copied to clipboard
abstract fun whatever(): Var
where
Link copied to clipboard
abstract fun where(lambda: Scope.() -> Unit): Scope
with
Link copied to clipboard
abstract fun <R> with(lambda: Scope.() -> R): R
write
Link copied to clipboard
open fun write(term: Any): Struct

Properties

_
Link copied to clipboard
open val _: Var
A
Link copied to clipboard
open val A: Var
at_end_of_stream
Link copied to clipboard
open val at_end_of_stream: Atom
B
Link copied to clipboard
open val B: Var
C
Link copied to clipboard
open val C: Var
context
Link copied to clipboard
abstract val context: Substitution
cut
Link copied to clipboard
open val cut: Atom
D
Link copied to clipboard
open val D: Var
E
Link copied to clipboard
open val E: Var
emptyBlock
Link copied to clipboard
abstract val emptyBlock: EmptyBlock
emptyList
Link copied to clipboard
abstract val emptyList: EmptyList
F
Link copied to clipboard
open val F: Var
fail
Link copied to clipboard
abstract val fail: Truth
G
Link copied to clipboard
open val G: Var
H
Link copied to clipboard
open val H: Var
halt
Link copied to clipboard
open val halt: Atom
I
Link copied to clipboard
open val I: Var
J
Link copied to clipboard
open val J: Var
K
Link copied to clipboard
open val K: Var
L
Link copied to clipboard
open val L: Var
M
Link copied to clipboard
open val M: Var
N
Link copied to clipboard
open val N: Var
nl
Link copied to clipboard
open val nl: Atom
O
Link copied to clipboard
open val O: Var
P
Link copied to clipboard
open val P: Var
Q
Link copied to clipboard
open val Q: Var
R
Link copied to clipboard
open val R: Var
repeat
Link copied to clipboard
open val repeat: Atom
S
Link copied to clipboard
open val S: Var
T
Link copied to clipboard
open val T: Var
U
Link copied to clipboard
open val U: Var
V
Link copied to clipboard
open val V: Var
variables
Link copied to clipboard
abstract val variables: Map<String, Var>
W
Link copied to clipboard
open val W: Var
X
Link copied to clipboard
open val X: Var
Y
Link copied to clipboard
open val Y: Var
Z
Link copied to clipboard
open val Z: Var

Inheritors

PrologScopeWithTheoriesImpl
Link copied to clipboard