Module Topkg_result

Results

Abbridged rresult. See Preliminaries for documention.

val (>>=) : ('a, 'b) Stdlib.result -> ('a -> ('c, 'b) Stdlib.result) -> ('c, 'b) Stdlib.result
val (>>|) : ('a, 'b) Stdlib.result -> ('a -> 'c) -> ('c, 'b) Stdlib.result
type ('a, 'b) r = ('a, 'b) Stdlib.result =
  1. | Ok of 'a
  2. | Error of 'b
type 'a result = ('a, [ `Msg of string ]) r
module R : sig ... end