2 Dec
2010
2 Dec
'10
12:26 p.m.
Andreas Fuchs <asf <at> boinkor.net> writes:
Prompted by a discussion on #lisp, I've made the following collect-duplicates function: Takes a sequence and a test, and returns as two values a sequence of duplicates and a sequence of the duplicate count (matching their sequence type to the input sequence's).
Hi Andreas, well, if you ask me, I would very much like to see this in alexandria. If it makes any sense, I can offer help writing test cases... But before that, just a question: I was running it on a string. Should the type of the result sequences be overidable? Best, Kilian