Hi!

Maxim Cournoyer <[email protected]> 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 or (ice-9 exceptions)) was
started in 3.0, but it’s not “complete” in the sense that internally
key+args is still what’s used in the vast majority of cases.  Quoth
‘NEWS’:

  Guile's situation is transitional.  Most exceptions are still signalled
  via `throw'.  These will probably migrate over time to
  `raise-exception', while preserving compatibility of course.

So I guess the first task is to work on it in Guile proper.

I do hope we can eventually do away with ‘catch’ in most parts of the
code and stick to SRFI-34 ‘guard’.

Thanks,
Ludo’.

Reply via email to