package soteria

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Make.Result

include Soteria.Soteria_std.Compo_res.S with type ('ok, 'err, 'fix) t = ('ok, 'err, 'fix) Soteria.Soteria_std.Compo_res.t t with type ('a, 'e, 'f) t = ('a, 'e, 'f) Soteria.Soteria_std.Compo_res.t t
include Soteria_std.Compo_res.Base with type ('ok, 'err, 'fix) t = ('ok, 'err, 'fix) Soteria.Soteria_std.Compo_res.t t with type ('a, 'e, 'f) t = ('a, 'e, 'f) Soteria.Soteria_std.Compo_res.t t
type ('a, 'e, 'f) t = ('a, 'e, 'f) Soteria.Soteria_std.Compo_res.t t
val ok : 'a -> ('a, 'b, 'c) t
val error : 'b -> ('a, 'b, 'c) t
val miss : 'c list -> ('a, 'b, 'c) t
val bind : ('a -> ('d, 'b, 'c) t) -> ('a, 'b, 'c) t -> ('d, 'b, 'c) t
val map : ('a -> 'd) -> ('a, 'b, 'c) t -> ('d, 'b, 'c) t
val bind_error : ('b -> ('a, 'd, 'c) t) -> ('a, 'b, 'c) t -> ('a, 'd, 'c) t
val map_error : ('b -> 'd) -> ('a, 'b, 'c) t -> ('a, 'd, 'c) t
val map_missing : ('c -> 'd) -> ('a, 'b, 'c) t -> ('a, 'b, 'd) t
val bind2 : f:('a -> ('e, 'f, 'c) t) -> fe:('b -> ('e, 'f, 'c) t) -> ('a, 'b, 'c) t -> ('e, 'f, 'c) t
val fold : (module M : Soteria_std.Sigs.Foldable) -> 'elem M.t -> init:'a -> f:('a -> 'elem -> ('a, 'b, 'c) t) -> ('a, 'b, 'c) t
val fold_list : 'elem list -> init:'a -> f:('a -> 'elem -> ('a, 'b, 'c) t) -> ('a, 'b, 'c) t
val fold_iter : 'elem Iter.t -> init:'a -> f:('a -> 'elem -> ('a, 'b, 'c) t) -> ('a, 'b, 'c) t
val iter : (module M : Soteria_std.Sigs.Foldable) -> 'elem M.t -> f:('elem -> (unit, 'b, 'c) t) -> (unit, 'b, 'c) t
val iter_list : 'elem list -> f:('elem -> (unit, 'b, 'c) t) -> (unit, 'b, 'c) t
val iter_iter : 'elem Iter.t -> f:('elem -> (unit, 'b, 'c) t) -> (unit, 'b, 'c) t
val map_m : (module M : Soteria_std.Sigs.Foldable) -> 'elem M.t -> f:('elem -> ('a, 'b, 'c) t) -> ('a list, 'b, 'c) t
val map_list : 'elem list -> f:('elem -> ('a, 'b, 'c) t) -> ('a list, 'b, 'c) t
val map_iter : 'elem Iter.t -> f:('elem -> ('a, 'b, 'c) t) -> ('a list, 'b, 'c) t
val miss_no_fix : reason:string -> unit -> ('ok, 'err, 'fix) t

Missing without any fix. Will add to the statistics and log that information.

val get_state : unit -> (st, 'e, 'f) t
val set_state : st -> (unit, 'e, 'f) t
val run_with_state : state:st -> ('a, 'e, 'f) t -> ('a * st, 'e * st, 'f) Symex.Result.t