
9 Dec
2004
9 Dec
'04
3:21 p.m.
Robert Dockins
And I thought that most programmers used "zipWith", which has to be prefix.
[1..5] `zipWith (+)` [7..]
You don't have a computer at your end of the internet? :-) Prelude> [1..5] `zipWith (+)` [7..] <interactive>:1: parse error on input `(' Prelude> let zwp = zipWith (+) in [1..5] `zwp` [7..] [8,10,12,14,16] -kzm -- If I haven't seen further, it is by standing in the footprints of giants