PredicateWithoutArguments
abstract class PredicateWithoutArguments<E : ExecutionContext>(operator: String) : PrimitiveWrapper<E>
A base class to implement predicates with zero arguments (e.g. !/0, nl/0, repeat/0). Follows the same design (and same ladder of nested subclasses -- WithoutSideEffects, NonBacktrackable, Functional, Predicative) as BinaryRelation; see its KDoc for the full rationale. Also available as ZeroaryPredicate.
Inheritors
Types
Link copied to clipboard
abstract class Functional<E : ExecutionContext>(operator: String) : PredicateWithoutArguments.NonBacktrackable<E>
Link copied to clipboard
abstract class NonBacktrackable<E : ExecutionContext>(operator: String) : PredicateWithoutArguments<E>
Link copied to clipboard
abstract class Predicative<E : ExecutionContext>(operator: String) : PredicateWithoutArguments.NonBacktrackable<E>
Link copied to clipboard
abstract class WithoutSideEffects<E : ExecutionContext>(operator: String) : PredicateWithoutArguments<E>
Properties
Link copied to clipboard
Gets this wrapped primitive description Pair formed by signature and wrapped primitive type
Link copied to clipboard
Checked primitive implementation