package decoders

  1. Overview
  2. Docs

Util module used for native builds (excluded in bs-config.json)

type ('good, 'bad) t = ('good, 'bad) result =
  1. | Ok of 'good
  2. | Error of 'bad
val return : 'good -> ('good, 'bad) t
val map : ('a -> 'b) -> ('a, 'err) t -> ('b, 'err) t
val map_err : ('err1 -> 'err2) -> ('a, 'err1) t -> ('a, 'err2) t
val combine_l : ('a, 'e) result list -> ('a list, 'e list) result
module Infix : sig ... end
OCaml

Innovation. Community. Security.