From: Robert Klemme Date: 2008-10-02T02:39:10+09:00 Subject: Re: Mode method for Array On 01.10.2008 18:17, David A. Black wrote: > It doesn't; I'm just using it to separate the collection and a > potential "mapping". > > [1,2,3,4,5].map("") {...} # Result: "Hi." > > I don't think that << correctly represents the concept of mapping, so > I would not want map to be generalized to any <<-capable target > object. It's more a <<'ing, or something, than a mapping. It happens > that the current behavior of map can be implemented using << and an > empty array, but I don't think that means that << per se is at the > heart of mapping. Ah, now I get your point. Thanks for elaborating. So you'd rather call such a method #append or similar. Kind regards robert