zimoun <[email protected]> writes:

> On Mon, 16 Jan 2023 at 12:46, Maxim Cournoyer <[email protected]> 
> wrote:
>
>>> So far the we use (srfi srfi-35) exclusively to define condition types;
>>> I think we should do the same here, for consistency.
>>
>> Could we instead start migrating away from srfi-35 to (ice-9
>> exceptions), which is the new native way to use exceptions in Guile?  
[…]
>> think it'd be nicer to use it in the future, to avoid newcomers being
>> confusing about the 3 or 4 ways to manage exceptions in Guile
>> (recommended read on the topic:
>> https://vijaymarupudi.com/blog/2022-02-13-error-handling-in-guile.html).
>
> In Guile maybe several but only one in Guix: (srfi srfi-35). :-)

With the introduction of (ice-9 exceptions), SRFI 35 has also been
rebased on top of it.[1]

Personally, I’d rather stay with the well-established interface provided
by SRFI 35.  It seems like needless churn to rewrite all current
exception handling to drop down one layer onto Guile-specific
infrastructure.

-- 
Ricardo

[1]: https://lists.gnu.org/archive/html/guile-commits/2019-11/msg00002.html

Reply via email to