From: Martin DeMello Date: 2005-07-29T15:51:19+09:00 Subject: Re: Combination of two arrays William James 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