Am Donnerstag 07 Januar 2010 14:04:20 schrieb Maciej Piechotka:

>
> As pointed out perms [] = [[]]. You can note that:
> length . perms == factorial

Surely you meant

genericLength . perms == factorial . (genericLength :: [a] -> Integer)

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

Reply via email to