package stdune

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

Module Stdune.PredicateSource

Predicates are functions of type 'a -> bool

Sourcetype 'a t
Sourceval create : ('a -> bool) -> 'a t
Sourceval true_ : _ t

The predicate that evaluates to true for any query.

Sourceval false_ : _ t

The predicate that evaluates to false for any query.

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

Innovation. Community. Security.