On Thu, Dec 15, 2016 at 2:15 AM, Marc Nieper-Wißkirchen <xxxxxx@nieper-wisskirchen.de> wrote:
I would like to ask for one addition to SRFI 113, namely set-search (without an exclamation mark).

set-search can trivially be implemented as

(define (set-search set element failure success)
  (set-search! (set-copy set) element failure success))

An implementation which is based on immutable sets (as opposed to a hash-table based implementation), could do much better, though.

One may similarly argue for non-destructive analogues of the procedures bag-increment! and bag-decrement!.

SRFI 113 has been finalized, which means that only fixes for outright errors can be added now.  But feel free to submit a new SRFI to make these amendments.

Thanks.

SRFI Editor