contrib: An efficient version of define-enum Wolfgang Corcoran-Mathe (13 Nov 2023 19:31 UTC)
Re: contrib: An efficient version of define-enum Arthur A. Gleckler (14 Nov 2023 02:00 UTC)

contrib: An efficient version of define-enum Wolfgang Corcoran-Mathe 13 Nov 2023 19:31 UTC

Almost three years ago, Marc asked[1] for a version of define-enum
that does most of its work at expansion time. I've finally gotten
around to it. I've opened a pull request adding it as a "contrib"
implementation:

https://github.com/scheme-requests-for-implementation/srfi-209/pull/14

Unfortunately, I haven't been able to test it directly, since I
haven't found an implementation with syntax-case and a SRFI 209 port
(with all its dependencies). I'm working on it and will correct at
a later date anything that's broken. Patches are welcome, if anyone
cares to look it over.

Regards,

Wolf

[1] https://srfi-email.schemers.org/srfi-209/msg/15550027/

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>