package decoders

  1. Overview
  2. Docs
Elm-inspired decoders for Ocaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

decoders-1.0.0.tbz
sha256=47fe79c4102d0f710eff3ceaef313100d9df3c7945834d3cf38a39742a573597
sha512=6fe4e9f99d865fb24c8b1da08ba485282fc8eaf6ed48cedbe8109cae863ad441a95b2643b4ea217a6b012f149682ca69af436ed26a3d646903738fce5651a229

doc/decoders/Decoders/Error/index.html

Module Decoders.ErrorSource

Sourcetype 'a t

An 'a t is an error with a contextual value of type 'a

Sourceval make : ?context:'a -> string -> 'a t
Sourceval tag : string -> 'a t -> 'a t
Sourceval group : 'a t list -> 'a t
Sourceval tag_group : string -> 'a t list -> 'a t
Sourceval pp : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unit
Sourceval to_string : (Format.formatter -> 'a -> unit) -> 'a t -> string
Sourceval map_tag : (string -> string) -> 'a t -> 'a t
Sourceval map_context : ('a -> 'b) -> 'a t -> 'b t