procedure-arity-mask and keywords Per Bothner (15 Apr 2020 00:28 UTC)
Re: procedure-arity-mask and keywords Lassi Kortela (15 Apr 2020 07:41 UTC)
Re: procedure-arity-mask and keywords Marc Nieper-Wißkirchen (15 Apr 2020 08:46 UTC)
Re: procedure-arity-mask and keywords Lassi Kortela (15 Apr 2020 09:28 UTC)
Re: procedure-arity-mask and keywords Lassi Kortela (15 Apr 2020 09:32 UTC)
Re: procedure-arity-mask and keywords Marc Nieper-Wißkirchen (15 Apr 2020 09:47 UTC)
Re: procedure-arity-mask and keywords Lassi Kortela (15 Apr 2020 09:58 UTC)

Re: procedure-arity-mask and keywords Lassi Kortela 15 Apr 2020 09:28 UTC

>      > Another that it returns a value corresponding to how many non-keyword
>      > arguments are allowed (assuming no keywords arguments are required).
>
>     This sounds like the right thing.
>
> This makes the attempts to portably implement keyword arguments in SRFI
> 171 impossible, doesn't it?

As far as I can tell, it would still work. The portable implementation
passes the keyword args using a rest argument, so `procedure-arity-mask`
would return all 1 bits. If there are also N positional arguments, the
lowest N bits would be carved out as zeros. So it would give slightly
misleading information about the rest argument in that case but nothing
catastrophic.