UnaryPredicate
A base class to implement predicates with one argument, sparing implementers from manually pulling first out of Solve.Request.arguments. Follows the same design (and same ladder of nested subclasses -- WithoutSideEffects, NonBacktrackable, Functional, Predicative) as BinaryRelation; see its KDoc for the full rationale. TypeTester and TypeEnsurer further specialize Predicative for X type-checking predicates (e.g. atom/1, var/1) and type-enforcing ones respectively.
Inheritors
Types
Link copied to clipboard
abstract class Functional<E : ExecutionContext>(operator: String) : UnaryPredicate.NonBacktrackable<E>
Link copied to clipboard
Link copied to clipboard
abstract class Predicative<E : ExecutionContext>(operator: String) : UnaryPredicate.NonBacktrackable<E>
Link copied to clipboard
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