|
|
|
|
|
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). |
|
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.