On 2002-11-15 14:04:52 +0900, Yukihiro Matsumoto wrote: > |[a, b, c].zip { |x, y, z| x*y + z } #=> [5, 2, 7] > | > |Now zip is like lisp's map. > Interesting feature, but it should not be named "zip". It's called "zipWith3" in Haskell. In Ruby no such limitation is required and we could get along with a single zip method for Haskells zip, zip3, zipWith and ZipWith3 zoo. I have posted a ruby implementation in another mail to this list. -- Four legs good, two legs bad. -- George Orwell, "Animal Farm"