mattjbray / ocaml-decoders

Elm-inspired decoders for Ocaml
https://mattjbray.github.io/ocaml-decoders/
Other
84 stars 8 forks source link

refactor: use a unboxed record for `Decoder.t` #54

Closed c-cube closed 1 year ago

c-cube commented 1 year ago

this should improve error messages for users, because it won't present them with the unfolded function+result type. It makes type errors simpler.