Predicate
a function that returns a boolean
--- https://youtu.be/aIOMRqiwziM?t=560
definition a predicate is a function with boolean function > codomain
example in Haskell, the library
Data.Char
is full of predicates, likeisAlpha
andisDigit
example in my math notation, sets are predicates, and thus a predicate is its own truth set