3 ms·
I think that when mentioning the effect of Haskell on other languages, things beyond rust deserve to be pointed out. Modern C++ has sum-types and 'optional' ty
by rocqua 7y ago
I think that when mentioning the effect of Haskell on other languages, things beyond rust deserve to be pointed out.
Modern C++ has sum-types and 'optional' types.
Python has lazy evaluation (generators).
Java-script really likes higher order functions (reduce, map, etc).
- yxhuvud 7y ago> Python has lazy evaluation (generators). > Java-script really likes higher order functions (reduce, map, etc). It is a hard sell to claim that either of these were invented or even popularized by Haskell. Just because something has functional roots, doesn't mean Haskell is related to the success of the feature - there are plenty of older languages (LISP!) that have the same features and that likely has way bigger influencing effect.
- jose_zap 7y agoIn fairness, the list comprehension syntax in python was taken directly from Haskell: https://wiki.python.org/moin/PythonVsHaskell https://wiki.python.org/moin/PythonVsHaskell