3 ms·
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
by lgas 3y 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))