News for hackers. Stuff that matters.
Re:Elm in Production: 25K Lines Later by enalicho on Monday July 31, 2017 @04:39AM (#14890364)
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

Re:Elm in Production: 25K Lines Later by desireco42 on Monday July 31, 2017 @07:34AM (#14890990)
Oh, this is awesome, json2elm really helps :) thanks, didn't know about it.
Re:Elm in Production: 25K Lines Later by enalicho on Monday July 31, 2017 @10:16AM (#14892167)
No problem! Glad you found it useful :) It's not perfect by any means, but it's not meant to be.
Re:Elm in Production: 25K Lines Later by desireco42 on Monday July 31, 2017 @02:17PM (#14894576)
Yeah right, just to jumpstart the effort, especially when there are a lot of entities.