[Haskell-cafe] Combinations

Udo Stenzel u.stenzel at web.de
Tue Jun 6 09:42:04 EDT 2006

developer at imaginando.net wrote:
> I need a functions which takes as argument a list of lists like this one:
> [[1,2],[3],[4]]
> and gives me a list of list with all the possible combinations like this one:
> [[1,3,4],[2,3,4]]


Finding out why it is named that strangely is left as an excercise.  :-)

The future isn't what it used to be.  (It never was.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org//pipermail/haskell-cafe/attachments/20060606/481e97e2/attachment.bin

More information about the Haskell-Cafe mailing list