From: Maciej Tomaka Date: 2008-08-08T01:09:28+09:00 Subject: Re: hello! first post to clr. I'm asking about an attempt at It is implementation failure, you are right. LazyList::Enumerable has buggy select which works as follows: So it search first true occurence and returns new object. list = LazyList.tabulate(0) { |x| x } => [... ] less_than_three = list.select { |x| x < 3 } lest_than_three.take(0);lest_than_three.take(1);lest_than_three.take(2) less_than_three.tail => [1, 2,... ] less_than_three.tail.tail => [2,... ] less_than_three.tail.tail.tail # Hangs So this should return lazy tail (which is empty, infinite loop occurs). By the way, you are hunting ants with an rpg:P Best Regards Maciej -- Posted via http://www.ruby-forum.com/.