Re: [Haskell-cafe] permutations and performance

16 Aug
2008
16 Aug
'08
5:28 p.m.
John D. Ramsdell schrieb:
Try deleting it and see what happens.
Erm, yes, this case is wrong:
| n <= 0 = []
There is _one_ permutation with no elements, namely [], thus it must be | n == 0 = [[]]
6122
Age (days ago)
6124
Last active (days ago)
1 comments
2 participants
participants (2)
-
Henning Thielemann
-
John D. Ramsdell