3 ms·
Time travel in Haskell for dummies (Tardis monad) (2015)
- Smaug123 8y agoThe first "wow, neat" moment of the article is the single-pass Haskell function that replaces every element of a list with that list's largest element. Haskell's laziness makes for some crazy possibilities and some totally incomprehensible performance properties.