Preface_stdlib.Predicate
Implementation for Predicate.t
.
A Predicate
is just a function from 'a
to bool
.
module Contravariant : Preface_specs.CONTRAVARIANT with type 'a t = 'a t
module Divisible : Preface_specs.DIVISIBLE with type 'a t = 'a t
module Decidable : Preface_specs.DECIDABLE with type 'a t = 'a t
module Invariant : Preface_specs.INVARIANT with type 'a t = 'a t
Additional functions to facilitate practical work with Predicate.t
.
val tautology : 'a t
A predicate always true.
val contradiction : 'a t
A predicate always false.
module Infix : sig ... end