RE: Typing problems with basic arithmetic - help!

24 Sep
2005
24 Sep
'05
1:47 p.m.
For some reason the following code is producing an error message from ghci that the the patterns are non-exhaustive. Does anyone have any idea why that could be, given that the patterns are, at least in my meaning, provably exhaustive?
You forgot to match against the empty list. Try adding choosenonuniqueset n [] = [] -Chad Scherrer
7181
Age (days ago)
7181
Last active (days ago)
0 comments
1 participants
participants (1)
-
Scherrer, Chad