agrafix / elm-bridge

Haskell: Derive Elm types from Haskell types
BSD 3-Clause "New" or "Revised" License
100 stars 27 forks source link

Add functions to generate ADT String parsers/renderers #47

Closed k-bx closed 4 years ago

k-bx commented 4 years ago

This can be considered as a design proposal or a request for feedback (even though I'll be using this code in production straight away).

I don't know if it's worth adding the actual code in README or just mentioning the functions is enough.

The point of this code is to use it for things like query parameters in your REST API. Previously we've had to manually add encoders/decoders for them.

Feedback welcome!