Morph – both parser and printer as one

Just published elm-morph!
Imagine

  • Writing Email.fromString and getting Email.toString almost for free (you can even morph bits, tokens or any elements you want)
  • Writing Email.toGenericValue and getting a jsonDecoder, 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!

16 Likes

OK - this is the coolest! Excited to put this to good use. :slight_smile:

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.