4 ms·
1. (Haskell) Propagating the myth that Haskell would do some automagic caching of function results. (Haskell simply does call-by-need: square (x+1) evaluates t
by tuukkah 17y ago
1. (Haskell) Propagating the myth that Haskell would do some automagic caching of function results.
(Haskell simply does call-by-need: square (x+1) evaluates to (x+1)*(x+1), but there's still only one (x+1) that gets evaluated.)