RuleWrapper
A wrapper class for a Prolog-defined Rule, i.e. the clause-based counterpart of it.unibo.tuprolog.solve.primitive.PrimitiveWrapper/it.unibo.tuprolog.solve.function.FunctionWrapper. Used by it.unibo.tuprolog.solve.libraryOf to bundle a library-provided rule (implemented in Prolog itself, rather than in Kotlin) alongside primitives and functions.
Subclasses build implementation declaratively, within scope, by overriding head (the rule head's arguments, whose count must match signature's arity) and body (defaulting to true, i.e. a fact).
Type Parameters
unused type parameter, kept for symmetry with it.unibo.tuprolog.solve.primitive.PrimitiveWrapper/ it.unibo.tuprolog.solve.function.FunctionWrapper.
Throws
Inheritors
Properties
Gets this wrapped primitive description Pair formed by signature and wrapped primitive type
The wrapped implementation