[Haskell-cafe] Re: Review request for my permutations implementation

Daniel Fischer daniel.is.fischer at web.de
Thu Jan 7 08:12:34 EST 2010


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)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100107/b0e70927/attachment.html


More information about the Haskell-Cafe mailing list