package tablecloth-native

  1. Overview
  2. Docs

Module Tablecloth.ResultSource

Sourcetype ('err, 'ok) t = ('ok, 'err) Base.Result.t
Sourceval withDefault : default:'ok -> ('err, 'ok) t -> 'ok
Sourceval with_default : default:'ok -> ('err, 'ok) t -> 'ok
Sourceval map2 : f:('a -> 'b -> 'c) -> ('err, 'a) t -> ('err, 'b) t -> ('err, 'c) t
Sourceval combine : ('x, 'a) t list -> ('x, 'a list) t
Sourceval map : ('ok -> 'value) -> ('err, 'ok) t -> ('err, 'value) t
Sourceval toOption : ('err, 'ok) t -> 'ok option
Sourceval to_option : ('err, 'ok) t -> 'ok option
Sourceval andThen : f:('ok -> ('err, 'value) t) -> ('err, 'ok) t -> ('err, 'value) t
Sourceval and_then : f:('ok -> ('err, 'value) t) -> ('err, 'ok) t -> ('err, 'value) t
Sourceval pp : (Format.formatter -> 'err -> unit) -> (Format.formatter -> 'ok -> unit) -> Format.formatter -> ('err, 'ok) t -> unit
OCaml

Innovation. Community. Security.