package odoc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b) t =
  1. | Left of 'a
  2. | Right of 'b
val return : 'a -> ('b, 'c) t
val return_left : 'a -> ('b, 'c) t
val bind : ('a, 'b) t -> ('c -> ('d, 'e) t) -> ('d, 'e) t
val bind_left : ('a, 'b) t -> ('c -> ('d, 'e) t) -> ('d, 'e) t
val (>>=) : ('a, 'b) t -> ('b -> ('a, 'c) t) -> ('a, 'c) t
val of_option : left:'a -> 'b option -> ('c, 'd) t
val of_result : ('a, 'b) Result.result -> ('c, 'd) t
OCaml

Innovation. Community. Security.