package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Predicates are functions of type 'a -> bool

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
OCaml

Innovation. Community. Security.