I wrote: | permutations :: [a] -> [[a]] | permutations xs = | [ y : zs | | (y,ys) <- selections xs | , zs <- permutations ys | ]
... and of course my cut-and-paste technology produced a message that has a built-in find-the-missing-base-case puzzle! :-) /K _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
