From: Mark Wilson Date: 2003-08-01T05:38:28+09:00 Subject: Re: Changing ==,>,<, etc On Thursday, July 31, 2003, at 04:03 PM, Martin DeMello wrote: > [snip] > any? and all? are very receiver-centric - compare > > a.any? {|i| b.all? {|j| i < j} } > > with > > any(a) < all(b) > > The latter shows up the symmetry a lot more clearly - I've always hated > having to write nested loops to express something flat. > [snip] It's a block passed to an iterator -- and not a loop ;-)