Simon Marechal

Results 191 comments of Simon Marechal

The fact that all keys are the same makes it easy to convert all at once with a mutation in `elm-bridge`. Same with the other kinds of newtypes that I...

A better term would be `Alterations`, as seen in `Elm.Module`. Look at the default alterations source to get some inspiration!

Thanks! I see there is a tuple fix, but does it work with previous versions of GHC?

Then it would be helpful to fence that in CPP blocks. Would you mind doing that?

Don't hesitate to ping me when the request is ready for merge!

Sorry for the late answer! I will try to take a look during the weekend, but as I do not use Elm anymore, that is not high priority.

I wrote a very quick patch (see #53). If that works for you, would that be OK to use `elm-community/json-extra`, or should I add the feature in `json-helpers` ?

The correct solution would be to hardcode this type in Elm so that it converts to the relevant type. Unfortunately, you don't have many choices in Elm, as it is...

I mean, hardcode it in elm-bridge, as in here: https://github.com/agrafix/elm-bridge/blob/master/src/Elm/Module.hs#L115-L140