[email protected]
[Top] [All Lists]

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

Subject: Re: [Haskell-cafe] Re: Review request for my permutations implementation
From: Daniel Fischer
Date: Thu, 7 Jan 2010 14:12:34 +0100

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
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe
<Prev in Thread] Current Thread [Next in Thread>