package ezjs_min

  1. Overview
  2. Docs
val null : 'a
val some : 'a -> 'a
val undefined : 'a
val def : 'a -> 'a
val return : 'a -> 'a
val js_equals : 'a -> 'b -> bool
type 'a t = 'a
val is_none : 'a t -> bool
val map : ?none:'b t -> 'a t t -> ('a t -> 'b0) -> 'b t
val bind : ?none:'b t -> 'a t t -> ('a t -> 'b0 t) -> 'b t
val test : 'a t t -> bool
val iter : 'a t t -> ('a t -> unit) -> unit
val case : 'a t t -> (unit -> 'b) -> ('a t -> 'b0) -> 'b1
val get : 'a t t -> (unit -> 'a t) -> 'a t
val option : ?none:'a t -> 'a0 option -> 'a t
val to_option : 'a t t t -> 'a t t option
val aopt : ?none:'b t -> ('a -> 'b0) -> 'a0 option -> 'b1 t
val to_aopt : ('a t t -> 'b) -> 'a t t t -> 'b0 option
OCaml

Innovation. Community. Security.