Re: R6RS exception printing -- take #2

2011-02-11 Thread Andy Wingo
Hi Andreas, On Sun 06 Feb 2011 19:09, Andreas Rottmann writes: > exception-printer := port key args thunk -> nothing I ended up adopting this. Thanks for the patch. I reworked your patch a bit -- for example, print-exception is now in boot-9, and used by C also. The C bits were actually mo

Re: R6RS exception printing -- take #2

2011-02-07 Thread Andreas Rottmann
Andy Wingo writes: > Heya Andreas, > Hi! I've attached an updated patch; see below for some points that are still to be discussed. If this patch is deemed OK, I'll work on converting all relevant sites in the REPL to use `print-exception'. > You proposed a choice between two options: > > On Tue

[PATCH] R6RS exception printing -- take #2

2011-02-07 Thread Andreas Rottmann
Andy Wingo writes: > Heya Andreas, > > You proposed a choice between two options: > [...] I forgot to attach the patch in my last mail, here it is: From: Andreas Rottmann Subject: Show R6RS exceptions in a reasonable way in the debugger * module/ice-9/boot-9.scm (exception-printer, set-except

Re: R6RS exception printing -- take #2

2011-02-01 Thread Andy Wingo
Heya Andreas, You proposed a choice between two options: On Tue 01 Feb 2011 01:19, Andreas Rottmann writes: > exception-printer := port key args exception-printer -> nothing > exception-printer := port args thunk The `key' argument is necessary, at least if you want one printer to handle m

Re: R6RS exception printing -- take #2

2011-01-31 Thread Andreas Rottmann
Andreas Rottmann writes: > Hi! > > I've started refreshing the patch[0] to improve exception presentation for > R6RS exceptions, initially discussed in [1]. I'd like to solicit > clarification on a few points. > Sorry, forgot the link (it's both the same URL): [0] [1] http://thread.gmane.org/gm

R6RS exception printing -- take #2

2011-01-31 Thread Andreas Rottmann
Hi! I've started refreshing the patch[0] to improve exception presentation for R6RS exceptions, initially discussed in [1]. I'd like to solicit clarification on a few points. To recap, it was agreed to add something like the following internal API to boot-9.scm: exception-printer := port key