4 ms·
If you want a powerful type system (i.e. Haskell), but the benefits of Elm, Miso is a project that implements the Elm Architecture in Haskell. It obviously has
by dmjio 9y ago
If you want a powerful type system (i.e. Haskell), but the benefits of Elm, Miso is a project that implements the Elm Architecture in Haskell. It obviously has typeclasses, and can encode / decode JSON on the frontend using GHC.Generics quite well. https://github.com/dmjio/miso https://github.com/dmjio/miso
- masklinn 9y agoThere's also Purescript, which is built for the web but has many of the goodies you'd expect from Haskell.
- kahnpro 9y agoI tried out Purescript for a project and didn't think it's ready for production... Generic encoding/decoding was painful, the lack of good dependency management was painful, too many things were either missing or immature. I hope in a year or two the story will be better.
- KirinDave 9y agoPureScript is a rapidly moving target. When did you try?
- reitanqild 9y agoEh, I don't know PureScript but IMO you just added another reason why it isn't production ready. Unless they are really really good at keeping backwards compability in both language and build tools.
- KirinDave 9y agoNope, they break things all the time. Or at least, they did one major break earlier this year. "Production ready" is different from "should I use this ever at all though." Doesn't really answer the question I posed though.
- agentultra 9y agoAnd GHCJS is quite good these days as well.