stdune
Stdune.Predicate
Predicates are functions of type 'a -> bool
stdune.filesystem_stubs
type 'a t
val create : ('a -> bool) -> 'a t
val true_ : _ t
The predicate that evaluates to true for any query.
true
val false_ : _ t
The predicate that evaluates to false for any query.
false
val contramap : 'a t -> f:('b -> 'a) -> 'b t
val test : 'a t -> 'a -> bool