On Tue, Dec 21 2021, Maxime Devos wrote: > Xinglu Chen schreef op di 21-12-2021 om 18:17 [+0100]: >> O[...] >> Yeah, the catch/throw system doesn’t really work well with ‘raise’. >> Here is what I found after some digging: [...] > > My point was that a raise-style exception shouldn't be wrapped in a > (%exception ...) and then again in an &exception-with-kind-and-args, > this wrapping should ‘collapse’. Seems like a bug in Guile. OK, thanks for the clarification. > Anyway, your patch to Guix looks reasonable to me, though it would be a > good idea to look into fixing the double-wrapping in Guile. Cool, fixing the issue in Guile itself would be great, I might look into it in the future. :-)