
6 Jun
2006
6 Jun
'06
10:46 a.m.
On Tue, 6 Jun 2006, Udo Stenzel wrote:
developer@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]]
sequence
I see, it is just sequence == foldr (liftM2 (:)) (return [])