Companion

object Companion

Functions

Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.checkTermIsRecursivelyCallable(term: <ERROR CLASS>): TypeError?
Link copied to clipboard

Utility function to ensure that all arguments of Solve.Request are instantiated and not (still) Variables

Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.ensuringArgumentIsArity(index: Int): Solve.Request<C>
Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.ensuringArgumentIsAtom(index: Int): Solve.Request<C>
Link copied to clipboard
Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.ensuringArgumentIsChar(index: Int): Solve.Request<C>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.ensuringArgumentIsGround(index: Int): Solve.Request<C>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.ensuringArgumentIsList(index: Int): Solve.Request<C>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.ensuringArgumentIsStruct(index: Int): Solve.Request<C>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.ensuringClauseProcedureHasPermission(clause: <ERROR CLASS>, operation: PermissionError.Operation): Solve.Request<C>
Link copied to clipboard
Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.ensuringTermIsCharCode(term: <ERROR CLASS>): Solve.Request<C>
Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.ensuringTermIsWellFormedList(term: <ERROR CLASS>): Solve.Request<C>
Link copied to clipboard
fun <ERROR CLASS>.isCharacterCode(): Boolean
Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.notImplemented(message: String = "Primitive for "): Solve.Response
Link copied to clipboard
fun <C : ExecutionContext> Solve.Request<C>.notSupported(message: String = "Operation "): Solve.Response
Link copied to clipboard
fun <C : ExecutionContext> wrap(signature: Signature, primitive: Primitive): PrimitiveWrapper<C>

Utility factory to build a PrimitiveWrapper out of a Signature and a Primitive function

fun <C : ExecutionContext> wrap(    name: String,     arity: Int,     primitive: Primitive): PrimitiveWrapper<C>
fun <C : ExecutionContext> wrap(    name: String,     arity: Int,     vararg: Boolean,     primitive: Primitive): PrimitiveWrapper<C>

Utility factory to build a PrimitiveWrapper out of a Primitive function