On Fri, Mar 28, 2003 at 06:00:59PM +0900, Yukihiro Matsumoto wrote:

> |#I want to do this 
> |puts list.join(","){|item| item.downcase}
> |
> |#but I have to do this
> |puts list.collect{|item| item.downcase}.join(",")
> 
> Hmm, I feel like this filtering is not part of "join" operation.
> But I'm interested in how others think.
> 
> 							matz.

Uh, no it doesn't strike me as what 'join' is supposed to do.
Intuitively, I think that a 'join' function should only join the entries 
of the array and not modify the entries themselves.

-- 
Daniel Carrera
Graduate Teaching Assistant.  Math Dept.
University of Maryland.  (301) 405-5137
--
depone: depone (di-POHN) verb tr., intr.
   To declare under oath.