decoders

Elm-inspired decoders for Ocaml
Library decoders
Module Decoders . Util . My_result
type ('good, 'bad) t = ( 'good, 'bad ) result =
| Ok of 'good
| 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