From: Avi Bryant Date: 2001-10-11T09:11:18+09:00 Subject: [ruby-talk:22415] Re: list comprehensions alike Python ??? On Thu, 11 Oct 2001, Avi Bryant wrote: > sure: > arr = (0..10).collect{|x| x*x}.select{|x| x.even?} And I got the select and collect backwards... don't mind me. ;-)