Re: Invalid arguments when trying to port SRFI-207 to Chicken 5
noosphere@xxxxxx 14 Nov 2020 00:06 UTC
Thank you.
This has been fixed in:
https://github.com/diamond-lizard/srfi-207/commit/67bed6e1dca6b8224cc30537dddf47ce7165db30
On Wed 11 Nov 2020 01:12:14 PM -05, Wolfgang Corcoran-Mathe wrote:
> Hi Sergey,
>
> On 2020-11-11 05:37 -0800, xxxxxx@mailc.net wrote:
>> But setting aside the SRFI-145 issue, is there some indication of what
>> could be causing the assumptions not to hold or how the could be fixed?
>
> I don't think any assumptions are actually failing. Rather, the
> CHICKEN compiler is just warning you that, were an assumption to
> fail, car would be evaluated with an invalid argument. Which is
> the whole idea.
>
> But this is just the low-budget fallback for systems without
> SRFI 145. Since CHICKEN has it, but doesn't have support for the
> (library ...) cond-expand form, I'd suggest just adding an explicit
> (import (srfi 145)) to your module file.
>
> Regards,
>
> --
> Wolfgang Corcoran-Mathe <xxxxxx@sigwinch.xyz>
>
> "What's our game? We have the ways of making things, but things are
> evidence. Perhaps, one day, the thing we'll make is sense."
> --Conor McBride