package tezos-protocol-environment-structs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val map : f:('a -> 'b) -> 'a option -> 'b option
val apply : f:('a -> 'b option) -> 'a option -> 'b option
val (>>=) : 'a option -> ('a -> 'b option) -> 'b option
val (>>|) : 'a option -> ('a -> 'b) -> 'b option
val iter : f:('a -> unit) -> 'a option -> unit
val unopt : default:'a -> 'a option -> 'a
val unopt_map : f:('a -> 'b) -> default:'b -> 'a option -> 'b
val unopt_exn : exn -> 'a option -> 'a
val unopt_assert : loc:(string * int * int * 'a) -> 'b option -> 'b
val first_some : 'a option -> 'a option -> 'a option
val some : 'a -> 'a option
val pp : ?default:string -> (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a option -> unit
val try_with : (unit -> 'a) -> 'a option
OCaml

Innovation. Community. Security.