Hacker News new | ask | show | jobs
by tome 3722 days ago
You probably want foldl' (+) 0
1 comments

foldl1 (+) ?
I think its better to give a same result to the empty-list case when its possible.