Re:IBM releases Elm-powered app
by grenadier21 on Thursday January 10, 2019 @12:46AM
(#18871804)
That's how literally every VDOM-based framework looks, including React. Elm isn't special in this regard. It is special in many other regards, however, and I appreciate it for that. It's also interesting as one of the few languages that have parametric polymorphism but no ad-hoc polymorphism, which leads to some interesting designs. I don't like how only the BDFL is allowed to do certain things, like create new operators in external libraries, but overall, it's a very pleasant experience.
[ Parent
| on HN ]
Re:IBM releases Elm-powered app
by lalaithion on Thursday January 10, 2019 @10:30AM
(#18874502)
"I don't like how only the BDFL is allowed to do certain things, like create new operators in external libraries"
Isn't this true for like, 95% of languages? Yes, Elm breaks from it's Haskell heritage in this regard, but this is a very common lack of feature.
Re:IBM releases Elm-powered app
by grenadier21 on Saturday January 12, 2019 @01:16AM
(#18890004)
Fair enough, but my main problem with it was that it existed, and then they removed it, which was very sad.
"one of the few languages that have parametric polymorphism but no ad-hoc polymorphism"
I wonder what others are? Would like to try them.
OCaml and Standard ML are two others, and I'd say OCaml is established enough that Elm is not really breaching new ground here. The main difference is that OCaml has other features you tend to use instead, particularly the module system.
Re:IBM releases Elm-powered app
by ikfmpwdsoz on Thursday January 10, 2019 @08:07AM
(#18873522)
OCaml is a very fun language in my experience. Apparently they were going to add ad-hoc polymorphism in the form of modular implicits, but I have no idea what happened to that.
Re:IBM releases Elm-powered app
by logicchains on Thursday January 10, 2019 @09:04AM
(#18873852)
It's due around the time OCaml multicore support and Half Life 3 are released.