Just published elm-morph!
Imagine
- Writing
Email.fromStringand gettingEmail.toStringalmost for free (you can even morph bits, tokens or any elements you want) - Writing
Email.toGenericValueand getting ajsonDecoder,jsonEncode,bytesDecoder,bytesEncode, … for free (and support for other formats is not restricted by its type)
It’s designed to be easier to work with than elm/parser (no loop, no chomping etc.) and has high quality errors.
If you’re interested, check the package documentation. Enjoy!