5 ms·
Regarding tail-recursion and optimization: In Haskell I guess it is the other way round - foldr is the more 'natural' function when you consider lazy evaluatio
by eru 19y ago
Regarding tail-recursion and optimization: In Haskell I guess it is the other way round - foldr is the more 'natural' function when you consider lazy evaluation.