Comment Comment by jakestl In python I can do: filter(lambda x: x%2==0, xrange(10)) Is this basically the same concept? parent jakestl 12 years ago