Re: Open suggestions Wolfgang Corcoran-Mathe 25 Nov 2020 04:04 UTC

On 2020-11-24 14:39 -0500, John Cowan wrote:
> On Mon, Nov 23, 2020 at 8:04 PM Wolfgang Corcoran-Mathe <xxxxxx@sigwinch.xyz>
> wrote:
>
> Amirouche raised the idea of an exact-integer -> enum-set conversion
> > (which he called "enum-set-unfold", a rather confusing name) in
> > https://srfi-email.schemers.org/srfi-209/msg/15202515/, but the
> > thread dropped after a short discussion.  Is this idea worth
> > revisiting?  The bitmap representation of enum-sets used by the sample
> > implementation means that this could be handled very efficiently,
> > which is a point in its favor.
>
> It's a reasonable idea, though I don't think it's outright necessary.  If
> you want to implement it, I'll write it up.

I also don't think this conversion is necessary (in either direction)
and would prefer not to add somewhat obscure forms to the SRFI at this
point.  However, Marc has endorsed it, so I'm happy to implement it if
you decide it's worth adding.

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

"Abstraction lies at the heart of all programming languages."
--Greg Michaelson