William James <w_a_x_man / yahoo.com> wrote:
> so it should be
> 
> (foo * bar.length).sort.zip(bar * foo.length)

This is one of the prettiest pieces of ruby code I've seen! Also, the
symmetry reminds me of the classic perl[1]
        $max = [ $x => $y ] -> [ $x <= $y ]

martin

http://groups-beta.google.com/group/comp.lang.perl.misc/msg/d6306b3f92f16a6f