Robert Dockins <[EMAIL PROTECTED]> writes:

>  > 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
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to