package owi

  1. Overview
  2. Docs
val let* : ('a, 'err) Result.t -> ('a -> ('b, 'err) Result.t) -> ('b, 'err) Result.t
val let+ : ('a, 'err) Result.t -> ('a -> 'b) -> ('b, 'err) Result.t
val error : string -> ('a, string) Result.t
val error_s : ('a, Format.formatter, unit, ('b, string) Result.t) format4 -> 'a
val ok : 'a -> ('a, 'err) Result.t
val list_iter : ('a -> (unit, 'err) Result.t) -> 'a list -> (unit, 'err) Result.t
val list_map : ('a -> ('b, 'err) Result.t) -> 'a list -> ('b list, 'err) Result.t
val list_fold_left : ('a -> 'b -> ('a, 'err) Result.t) -> 'a -> 'b list -> ('a, 'err) Result.t
val array_iter : ('a -> (unit, 'err) Result.t) -> 'a array -> (unit, 'err) Result.t
val array_map : ('a -> ('b, 'err) Result.t) -> 'a array -> ('b array, 'err) Result.t
val array_fold_left : ('a -> 'b -> ('a, 'err) Result.t) -> 'a -> 'b array -> ('a, 'err) Result.t
OCaml

Innovation. Community. Security.