[Haskell-beginners] Factorials using foldx
Bas van Dijk
v.dijk.bas at gmail.com
Thu Aug 7 11:35:57 EDT 2008
On Thu, Aug 7, 2008 at 4:16 PM, Paul Johnston
<paul.a.johnston at manchester.ac.uk> wrote:
> Is there any difference in efficiency, I remember reading it is better to count down than to count up but left to right or right to left :-)
I wrote a small wiki article on the differences beteen the various folds:
http://haskell.org/haskellwiki/Foldr_Foldl_Foldl%27
regards,
Bas
More information about the Beginners
mailing list