Please help me

Ashley Yakeley
Thu, 8 Feb 2001 02:11:30 -0800

At 2001-02-08 02:04, Ashley Yakeley wrote:

>That's easy. Just define 'product' as a function that finds the cartesian 
>product of any number of lists, and then once you've done that you can 
>apply it to make the special case of three items like this:
>cartesianProduct a b c = product [a,b,c]
>At least, that's how I would do it.

eesh, 'product' is something else in the Prelude. Better call it 
'cartprod' or something.

Ashley Yakeley, Seattle WA