[EMAIL PROTECTED] 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]]

sequence

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


Udo.
-- 
The future isn't what it used to be.  (It never was.)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to