Hacker News new | ask | show | jobs
by flossly 20 days ago
Just like Ruby was IMHO a "simple" lang carved out of Perl; Elm is a "simple" lang carved out of Haskell.

Some languages are here merely to inspire others.

Not that Elm is such a success... But it is "simple" (Haskell and Perl are not; they big).

1 comments

Elm was on a strong upward trajectory, getting more and more attention and usage, when the fateful change that killed it was introduced. Who knows what it could have become if things were different?

Haskell also heavily inspired Rust, not in terms of syntax, but Rust traits and enums are very similar to Haskell type classes and ADTs.

As a vehicle for PL research, Haskell has been very successful. Practically every language introduced after ~2015 includes some variant of ADTs, option types, and result types. Many include type class analogues, too.

And this in turn invalidates some of the "but certainly Rust has more code in the corpus than Haskell" claims. Sure, by the cloc, perhaps. But when agents dive into Haskell they feel right at home conceptually, because the concepts reverberated throughout CS domain.