jmatsushita / purescript-codec-foreign

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

purescript-codec-foreign

Purescript library to convert Purescript data <-> Foreign data using the "codecs" approach.

This library is build on purescript-codec and offers an approach to dealing with encoding/decoding not based on typeclasses. Instead, codecs are constructed as values explicitly. As long as the basic codec values provided by this library are used, the codecs are guaranteed to roundtrip successfully.

For more information on the motivation behind this library, please read what @garyb wrote about his problems with typeclass codecs previously.

About


Languages

Language:PureScript 91.6%Language:Nix 5.2%Language:Dhall 2.4%Language:JavaScript 0.8%