Y
Hacker News
new
|
ask
|
show
|
jobs
by
droque
3786 days ago
You could also go all the way and declare a Num a => Num [a] typeclass, with (+) = zipWith (+).