stdune

Dune's unstable standard library
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library stdune
Module Stdune . Predicate
type 'a t
val create : ( 'a -> bool ) -> 'a t
val true_ : _ t

The predicate that evaluates to true for any query.

val false_ : _ t

The predicate that evaluates to false for any query.

val contramap : 'a t -> f:( 'b -> 'a ) -> 'b t
val test : 'a t -> 'a -> bool