On Mon 25 Nov 2019 17:45, Ludovic Courtès writes:
> This ensures core binding '&error' is silently replaced by the SRFI-35
> variant.
Again LGTM but it would be nicest to really re-export the binding
instead of making a new definition :)
Andy
On Mon 25 Nov 2019 17:45, Ludovic Courtès writes:
> In Guile 2.x, (srfi srfi-34) would already replace 'raise'. Replacing
> avoids a run-time warning about the core binding being overridden.
>
> * module/srfi/srfi-34.scm (raise): New variable.
> Mark it as #:replace instead of #:re-export.
> ---
Hi :)
On Mon 25 Nov 2019 23:03, Ludovic Courtès writes:
> Andy Wingo skribis:
>
>> Honestly I would prefer not to do this. If I understand correctly, the
>> problem is in FFI calls -- you have a bytevector and you want to pass it
>> as a pointer. In that case the "right" optimization is to av
Andy Wingo skribis:
> On Mon 25 Nov 2019 17:45, Ludovic Courtès writes:
>
>> In Guile 2.x, (srfi srfi-34) would already replace 'raise'. Replacing
>> avoids a run-time warning about the core binding being overridden.
>>
>> * module/srfi/srfi-34.scm (raise): New variable.
>> Mark it as #:replace