package coq

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception IsNone
val has_some : 'a option -> bool
val is_empty : 'a option -> bool
val equal : ('a -> 'a -> bool) -> 'a option -> 'a option -> bool
val compare : ('a -> 'a -> int) -> 'a option -> 'a option -> int
val hash : ('a -> int) -> 'a option -> int
val get : 'a option -> 'a
val make : 'a -> 'a option
val bind : 'a option -> ('a -> 'b option) -> 'b option
val filter : ('a -> bool) -> 'a option -> 'a option
val init : bool -> 'a -> 'a option
val flatten : 'a option option -> 'a option
val append : 'a option -> 'a option -> 'a option
val iter : ('a -> unit) -> 'a option -> unit
exception Heterogeneous
val iter2 : ('a -> 'b -> unit) -> 'a option -> 'b option -> unit
val map : ('a -> 'b) -> 'a option -> 'b option
val fold_left : ('b -> 'a -> 'b) -> 'b -> 'a option -> 'b
val fold_left2 : ('a -> 'b -> 'c -> 'a) -> 'a -> 'b option -> 'c option -> 'a
val fold_right : ('a -> 'b -> 'b) -> 'a option -> 'b -> 'b
val fold_left_map : ('a -> 'b -> 'a * 'c) -> 'a -> 'b option -> 'a * 'c option
val fold_right_map : ('b -> 'a -> 'c * 'a) -> 'b option -> 'a -> 'c option * 'a
val cata : ('a -> 'b) -> 'b -> 'a option -> 'b
val default : 'a -> 'a option -> 'a
val lift : ('a -> 'b) -> 'a option -> 'b option
val lift_right : ('a -> 'b -> 'c) -> 'a -> 'b option -> 'c option
val lift_left : ('a -> 'b -> 'c) -> 'a option -> 'b -> 'c option
val lift2 : ('a -> 'b -> 'c) -> 'a option -> 'b option -> 'c option
module Smart : sig ... end
module List : sig ... end
OCaml

Innovation. Community. Security.