Module State_or_error.Make
Parameters
module State : sig ... end
Signature
include Core_kernel.Monad.S
val (>>=) : 'a t -> ( 'a -> 'b t ) -> 'b t
val (>>|) : 'a t -> ( 'a -> 'b ) -> 'b t
val bind : 'a t -> f:( 'a -> 'b t ) -> 'b t
val map : 'a t -> f:( 'a -> 'b ) -> 'b t
val join : 'a t t -> 'a t
val ignore_m : 'a t -> unit t
val all : 'a t list -> 'a list t
val all_unit : unit t list -> unit t
val run_state : 'a t -> state:state -> ('a * state) Core_kernel.Or_error.t
val error_if : bool -> message:string -> value:'a -> 'a t