3 ms·
Haskell hides far more of the inner workings than Python, JS or Go. There's a huge gap between the semantics of a non-strict, pure functional language and the a
by foldr 5y ago
Haskell hides far more of the inner workings than Python, JS or Go. There's a huge gap between the semantics of a non-strict, pure functional language and the actual execution model.
- unfocussed_mike 5y ago(Username checks out)
- tlavoie 5y agoSure, except it should be foldl' instead. StackOverflow is thataway --> Edit for reason: https://wiki.haskell.org/Foldr_Foldl_Foldl https://wiki.haskell.org/Foldr_Foldl_Foldl'