Hacker News new | ask | show | jobs
by lgas 1017 days ago
Surely the example that says these two would be equivalent is wrong:

     foldl (+) 0 (take n myList)

     reduce (takeNPlus 10) 0 myList
I assume it should be (takeNPlus n)? (or (take 10 myList))