package asak

  1. Overview
  2. Docs
type 'a t
val fail : string -> '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, string) result
val to_err : ('a, string) result -> 'a t
val err_of_option : string -> 'a option -> 'a t
OCaml

Innovation. Community. Security.