Re: Exception: srfi-35 vs (ice-9 exceptions (was Re: [bug#60802] [PATCH v2 1/2] platforms: Raise an exception when no suitable platform is found.)

2023-01-19 Thread Katherine Cox-Buday
Ludovic Courtès writes: > Hi, > > Josselin Poiret skribis: > >> I also don't see how Guix would gain anything from moving to Guile's >> native exceptions. However, one thing that would be nice to have is a >> description of all such "implementation choices" in Guix, perhaps in >> the "Coding sty

Re: Exception: srfi-35 vs (ice-9 exceptions (was Re: [bug#60802] [PATCH v2 1/2] platforms: Raise an exception when no suitable platform is found.)

2023-01-19 Thread Ludovic Courtès
Hi, Josselin Poiret skribis: > I also don't see how Guix would gain anything from moving > to Guile's native exceptions. However, one thing that would be nice to > have is a description of all such "implementation choices" in Guix, > perhaps in the "Coding style" section of the manual. Having

Re: Exception: srfi-35 vs (ice-9 exceptions (was Re: [bug#60802] [PATCH v2 1/2] platforms: Raise an exception when no suitable platform is found.)

2023-01-17 Thread Josselin Poiret
Hi everyone, I also don't see how Guix would gain anything from moving to Guile's native exceptions. However, one thing that would be nice to have is a description of all such "implementation choices" in Guix, perhaps in the "Coding style" section of the manual. Having a definitive reference to

Re: Exception: srfi-35 vs (ice-9 exceptions (was Re: [bug#60802] [PATCH v2 1/2] platforms: Raise an exception when no suitable platform is found.)

2023-01-17 Thread Ludovic Courtès
Hi! Maxim Cournoyer skribis: > There are also many old-school catch/throw references too, so that makes > it two! These can technically be handled using the new style mechanism > too Well, yes and no. The migration to from key+args (what ‘catch’ deals with) to exception objects (à la SRFI-35

Re: Exception: srfi-35 vs (ice-9 exceptions (was Re: [bug#60802] [PATCH v2 1/2] platforms: Raise an exception when no suitable platform is found.)

2023-01-16 Thread Ricardo Wurmus
zimoun writes: > On Mon, 16 Jan 2023 at 12:46, Maxim Cournoyer > 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), whi

Re: Exception: srfi-35 vs (ice-9 exceptions (was Re: [bug#60802] [PATCH v2 1/2] platforms: Raise an exception when no suitable platform is found.)

2023-01-16 Thread Maxim Cournoyer
Hi Simon, zimoun writes: > Hi Maxim, > > On Mon, 16 Jan 2023 at 12:46, Maxim Cournoyer > 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 (ic

Exception: srfi-35 vs (ice-9 exceptions (was Re: [bug#60802] [PATCH v2 1/2] platforms: Raise an exception when no suitable platform is found.)

2023-01-16 Thread zimoun
Hi Maxim, On Mon, 16 Jan 2023 at 12:46, Maxim Cournoyer 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 nativ