Hacker News new | ask | show | jobs
by mineo 4365 days ago
That should be "foldl f z (x:xs) = foldl f (f z x) xs" because the function f takes two arguments (the whole thing boils down to "(((z `f` x_1) `f` x_2) ... `f` x_n)").
1 comments

Thank you for the correction!