asak

Partitioning OCaml codes
IN THIS PACKAGE
Module Asak . Monad_error . ErrS
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 ) Pervasives.result
val to_err : ( 'a, string ) Pervasives.result -> 'a t
val err_of_option : string -> 'a option -> 'a t