package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type !'a t = 'a option
val map : ('a -> 'b) -> 'a t -> 'b t
val maybe : ('a -> 'b) -> 'b -> 'a t -> 'b
val is_some : 'a t -> bool
val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
val return : 'a -> 'a t
val (>|=) : 'a t -> ('a -> 'b) -> 'b t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val flat_map : ('a -> 'b t) -> 'a t -> 'b t
val map2 : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c t
val iter : ('a -> unit) -> 'a t -> unit
val fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
val get_exn : 'a t -> 'a
val sequence_l : 'a t list -> 'a list t
val pure : 'a -> 'a t
val (<*>) : ('a -> 'b) t -> 'a t -> 'b t
val (<$>) : ('a -> 'b) -> 'a t -> 'b t
val (<+>) : 'a t -> 'a t -> 'a t
val choice : 'a t list -> 'a t
val to_list : 'a t -> 'a list
val of_list : 'a list -> 'a t
type !'a sequence = ('a -> unit) -> unit
type !'a gen = unit -> 'a option
type !'a printer = Buffer.t -> 'a -> unit
type !'a random_gen = Random.State.t -> 'a
val random : 'a random_gen -> 'a t random_gen
val to_gen : 'a t -> 'a gen
val to_seq : 'a t -> 'a sequence
val pp : 'a printer -> 'a t printer
OCaml

Innovation. Community. Security.