Re: Small issue with reference implementation
Wolfgang Corcoran-Mathe 06 Nov 2020 17:58 UTC
Jeronimo,
On 2020-11-06 06:22 -0300, Jeronimo Pellegrini (via srfi-196 list) wrote:
> The reference implementation of SRFI-196 has, in 196.sld,
> this:
>
> [snip]
>
> The named let for the loop is missing between "(let res ..." and "(cond
> ...",
>
> (let lp ((i 0))
Thanks for catching this! I'll fix it shortly. This is what happens
when you don't test the fallback versions.
> Also, the cont-expand only checks for SRFI 133, but SRFI 43 also
> brings vector-unfold, which seems to work in this case (unless
> I've missed something).
I'll add a clause for SRFI 43 as well.
Thanks again,
--
Wolfgang Corcoran-Mathe <xxxxxx@sigwinch.xyz>
"Types provide the means to put the meaning on machines,
to program computation as an act of explanation." --Conor McBride