Module Odoc_odoc.Or_errorSource

Sourcetype ('a, 'e) result = ('a, 'e) Result.result =
  1. | Ok of 'a
  2. | Error of 'e

Re-export for compatibility with 4.02

Sourcetype msg = [
  1. | `Msg of string
]
val (>>=) : ('a, 'e) result -> ('a -> ('b, 'e) result) -> ('b, 'e) result
Sourceval fold_list : ('acc -> 'a -> ('acc, 'e) result) -> 'acc -> 'a list -> ('acc, 'e) result