fset icon indicating copy to clipboard operation
fset copied to clipboard

count-if and count-if-not return nil

Open syll-dev opened this issue 9 years ago • 1 comments

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

syll-dev avatar Feb 14 '16 21:02 syll-dev

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.

slburson avatar Feb 15 '16 07:02 slburson

Paul Dietz fixed this.

slburson avatar May 17 '24 08:05 slburson