Earlier quoted context omitted.
Yeah, we've had a great time writing Elm for a fairly complex single-page Ethereum dApp. It's conceptually a lot simpler than Haskell, which made it easy for the team to pick up. I only wish it had a better system (Tasks) for JavaScript interop instead of ports.
ReasonML could be a good middle ground there.
Elm at Pacific Health Dynamics
21–30 of 57 posts
Re: Elm at Pacific Health Dynamics
#22Earlier quoted context omitted.
ReasonML could be a good middle ground there.
One of the biggest complaints of Elm is the lack of typeclass. I'm not aware of a similar abstraction in OCaml. Does Reason have similar limitations, or are there ways to get around it?
Re: Elm at Pacific Health Dynamics
#23I never enjoyed frontend programming until I came across Elm. Not only that Elm turned out to be a gateway drug to Haskell. Now I write frontend and mobile apps in Haskell using Functional Reactive programming (FRP).
Yeah, we've had a great time writing Elm for a fairly complex single-page Ethereum dApp. It's conceptually a lot simpler than Haskell, which made it easy for the team to pick up. I only wish it had a better system (Tasks) for JavaScript interop instead of ports.
Re: Elm at Pacific Health Dynamics
#24The lead paragraph is a bit worrying. > Since July 2017, I’ve been leading the frontend rewrite of their flagship product. The codebase was at 16k LoC when I started. Since then, I’ve rewritten the various subsystems at least once (I'm looking at you generic form component). Now we hover around 45k LoC with most of the common SPA structures stabilizing. We are about a third of the way to completion. I don't know if i…
The comment about 16k -> 45k LoC was to give an idea of how much we had added to the product over the last 10 months.
Re: Elm at Pacific Health Dynamics
#25Earlier quoted context omitted.
What framework or library are you using to write frontend and mobile apps in Haskell?
Reflex http://docs.reflex-frp.org/
Re: Elm at Pacific Health Dynamics
#26Took me a while to realize this wasn't about the Elm email client https://en.wikipedia.org/wiki/Elm_(email_client)
https://hn.algolia.com/?query=elm%20email&sort=byPopularity&... Seems like at least a few others have over time as well
It died 12 years ago.
Re: Elm at Pacific Health Dynamics
#27I've only used Elm for a hobby project. Given how much I enjoyed the experience of web app programming for once, it's nice to read how well it scales to a large application.
Re: Elm at Pacific Health Dynamics
#28Thanks for warning about compile times.
Re: Elm at Pacific Health Dynamics
#29I also shared my elm experience a few days ago: https://news.ycombinator.com/item?id=16750842
Re: Elm at Pacific Health Dynamics
#30Took me a while to realize this wasn't about the Elm email client https://en.wikipedia.org/wiki/Elm_(email_client)