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 -> 'b) -> 'b t
val bind : ?none:'b t -> 'a t t -> ('a t -> 'b 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 -> 'b) -> 'b
val get : 'a t t -> (unit -> 'a t) -> 'a t
val option : ?none:'a t -> 'a option -> 'a t
val to_option : 'a t t t -> 'a t t option
val aopt : ?none:'b t -> ('a -> 'b) -> 'a option -> 'b t
val to_aopt : ('a t t -> 'b) -> 'a t t t -> 'b option
OCaml

Innovation. Community. Security.