I would say not to use syntax-case unless it is behind a cond-expand barrier of some sort.

On Tue, Nov 17, 2020 at 1:25 PM Wolfgang Corcoran-Mathe <xxxxxx@sigwinch.xyz> wrote:
On 2020-11-16 20:36 +0100, Marc Nieper-Wißkirchen wrote:
> Yes, a bit vector representation seems like the best solution, and
> fast syntax-case macros so that implementers can just copy the sample
> implementations and their users don't have to worry about performance.

Looks good to me.  This will take a little more time to implement and
test sufficiently.

I've opted to use integer bitmaps rather than bitvectors in the sample
implementation, to avoid the (rather large) SRFI 178 dependency.  This
should be extremely efficient for small sets, which probably describes
99% of the use-cases for enum-sets.

The remaining question: Shall we use syntax-case in the sample

Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>

"Computer science is no more about computers than astronomy is
about telescopes." --pseudo-Dijkstra