fset
fset copied to clipboard
count-if and count-if-not return nil
count-if and count-if-not on a set return nil :
(fset:count-if #'evenp (fset:convert 'fset:set (list 1 2 3)))
NIL
In count-if, "returning" n is done inside do-set (twice).
I think the same problem exists with bags, maps and seqs
Whoops!!! I guess I was in a hurry and didn't test it :-( Thanks for the report. Not sure when I'll get to it.
Paul Dietz fixed this.