package ocaml-webworker

  1. Overview
  2. Docs
type ('a, 'b) t =
  1. | L of 'a
  2. | R of 'b
val elim : ('a -> 'b) -> ('c -> 'b) -> ('a, 'c) t -> 'b
val try' : (unit -> 'a) -> (exn, 'a) t
val get : (exn, 'a) t -> 'a
val join : ('a, ('a, 'b) t) t -> ('a, 'b) t
val split : ('a, 'b) t list -> 'a list * 'b list
OCaml

Innovation. Community. Security.