package asak

  1. Overview
  2. Docs

Parameters

module T : T

Signature

type 'a t
val fail : T.e -> 'a t
val ret : 'a -> 'a t
val map : ('a -> 'b) -> 'a t -> 'b t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val run : 'a t -> ('a, T.e) Pervasives.result
val to_err : ('a, T.e) Pervasives.result -> 'a t
val err_of_option : T.e -> 'a option -> 'a t
OCaml

Innovation. Community. Security.