# Please help me

**FAIZAN RAZA
**
[email protected]

*Thu, 08 Feb 2001 13:49:11*

Hello
Please help me to solve this questions
Question
Cartesian Product of three sets, written as X x Y x Z is defined as the set
of all ordered triples such that the first element is a member of X, the
second is member of Y, and the thrid member of set Z. write a Haskell
function cartesianProduct which when given three lists (to represent three
sets) of integers returns a list of lists of ordered triples.
For examples, cartesianProduct [1,3][2,4][5,6] returns
[[1,2,5],[1,2,6],[1,4,5],[1,4,6],[3,2,5],[3,2,6],[3,4,5],[3,4,6]]
Please send me reply as soon as possible
Ok
I wish you all the best of luck