From: Gavin Kistner Date: 2005-08-11T22:51:38+09:00 Subject: Re: cartesian product - next to last version --Apple-Mail-1--567785806 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Aug 11, 2005, at 5:06 AM, walter a kehowski wrote: > Of course you might want a product in which the elements > of that product are arrays. Any suggestions? In such cases, I use the Vector class (require 'matrix') as the 'atomic' unit. Then Array#flatten doesn't peek inside the Vectors and flatten them inappropriately. --Apple-Mail-1--567785806--