Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You don't need to switch a whole language because of JSON decoding. There are many tools that exist to aid you write JSON decoders in Elm. The language is not just about the architecture -- you can implement the architecture in any language, as Redux has proven. What people like about Elm is the compiler and design philosophy that radiates through the entire community. Switching to Haskell won't give you that, as the Haskell community has different priorities.

Here are some JSON tools for Elm:

- json-to-elm http://json2elm.com

- swagger-elm https://github.com/ahultgren/swagger-elm/

- elm-graphql https://github.com/jahewson/elm-graphql, https://github.com/jamesmacaulay/elm-graphql

- elm-export https://hackage.haskell.org/package/elm-export



Oh, this is awesome, json2elm really helps :) thanks, didn't know about it.


No problem! Glad you found it useful :) It's not perfect by any means, but it's not meant to be.


Yeah right, just to jumpstart the effort, especially when there are a lot of entities.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: