Hacker News new | past | comments | ask | show | jobs | submit login

Nice article. One counter point though, OP uses Elm-bridge to generate Elm types from Haskell. I'd advise not to. Elm-bridge is not maintained anymore, lacks documentation and some useful feature (no phantom types for example). https://github.com/Holmusk/elm-street is probably a more viable solution though I've never tried it!



Whoops! I misremembered. I think we originally considered elm-bridge, but we're actually using haskell-to-elm[0]. I am familiar with Veronika's work and it is consistently of high quality, so I don't doubt elm-street would be a solid choice. In fact, elm-street looks like it supports generating exhaustive sum type lists, which might be the killer feature over the alternatives that leads me to switch.

I'll make a correction to the article.

[0]: https://hackage.haskell.org/package/haskell-to-elm


It's probably better than to roll your own. And you do need code generation for elm.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: