agrafix / elm-bridge

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

Convert IntMap to Dict Int #50

Closed odanoburu closed 3 years ago

odanoburu commented 3 years ago

Since Dict k accepts any comparable k (not only strings), translate those too.

Note that I haven't tested this at all. Because Haskell takes too much time and space to build stuff on my poor laptop, I didn't even compile this change in the package (I'm counting on Travis here), but a similar change in the hooks servant-elm provides works fine.

bartavelle commented 3 years ago

Thanks a lot!

bartavelle commented 3 years ago

Released 0.8.0 with that change.