package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val list_any : (t -> 'a option) -> t -> 'a option
val list_all : (t -> 'a option) -> t -> 'a list
val to_int : t -> int option
val to_string : t -> string option
val to_bool : t -> bool option
val to_float : t -> float option
val to_list : t -> t list option
val to_pair : t -> (t * t) option
val to_triple : t -> (t * t * t) option
val get_field : string -> t -> t option
val field : string -> (t -> 'a option) -> t -> 'a option
val get_variant : (string * (t list -> 'a option)) list -> t -> 'a option
val (>>=) : 'a option -> ('a -> 'b option) -> 'b option
val (>|=) : 'a option -> ('a -> 'b) -> 'b option
val return : 'a -> 'a option
val get_exn : 'a option -> 'a
OCaml

Innovation. Community. Security.