Re: R6RS exception printing at the REPL

2010-12-13 Thread Ludovic Courtès
Hi, Andreas Rottmann a.rottm...@gmx.at writes: I somewhat share that sentiment -- the global registry feels a bit awkward; perhaps it should be stored in a fluid? Yes, possibly. Should at least be more flexible. Also, I'd rather have the proposed API be Guile-internal, +1 but I don't

Re: R6RS exception printing at the REPL

2010-12-02 Thread Andreas Rottmann
l...@gnu.org (Ludovic Courtès) writes: Hello there! Andy Wingo wi...@pobox.com writes: On Sat 27 Nov 2010 01:08, Andreas Rottmann a.rottm...@gmx.at writes: to not lose current functionality, `print-exception' and exception printer procedures would need a `frame' argument as well, right?

Re: R6RS exception printing at the REPL

2010-12-01 Thread Ludovic Courtès
Hello there! Andy Wingo wi...@pobox.com writes: On Sat 27 Nov 2010 01:08, Andreas Rottmann a.rottm...@gmx.at writes: to not lose current functionality, `print-exception' and exception printer procedures would need a `frame' argument as well, right? I guess. I never liked that, though;

Re: R6RS exception printing at the REPL

2010-12-01 Thread Ludovic Courtès
Andreas Rottmann a.rottm...@gmx.at writes: Fitting that you mention this issue, since I have a question that I think also touches this area: what to do with exceptions not caught by the REPL (i.e. those leading to program termination when running a script)? My previous patch did not touch

Re: R6RS exception printing at the REPL

2010-11-29 Thread Andy Wingo
On Sat 27 Nov 2010 01:08, Andreas Rottmann a.rottm...@gmx.at writes: to not lose current functionality, `print-exception' and exception printer procedures would need a `frame' argument as well, right? I guess. I never liked that, though; sounds like a needless tangling of concerns. What does

Re: R6RS exception printing at the REPL

2010-11-29 Thread Andreas Rottmann
Andy Wingo wi...@pobox.com writes: On Sat 27 Nov 2010 01:08, Andreas Rottmann a.rottm...@gmx.at writes: to not lose current functionality, `print-exception' and exception printer procedures would need a `frame' argument as well, right? I guess. I never liked that, though; sounds like a

Re: R6RS exception printing at the REPL

2010-11-26 Thread Andreas Rottmann
Andy Wingo wi...@pobox.com writes: Heya Andreas, On Sat 20 Nov 2010 19:18, Andreas Rottmann a.rottm...@gmx.at writes: Andy Wingo wi...@pobox.com writes: set-exception-printer! : exception-printer - nothing Did you mean the following? set-exception-printer! : key exception-printer -

Re: R6RS exception printing at the REPL

2010-11-20 Thread Andy Wingo
On Sun 24 Oct 2010 23:46, Andreas Rottmann a.rottm...@gmx.at writes: Attached is a patch that improves the way R6RS exceptions are printed at the REPL Cool! I have also found the need to define pretty-printers for various throw keys. I wonder, could you rework this patch to add a more generic

Re: R6RS exception printing at the REPL

2010-11-20 Thread Andy Wingo
Heya Andreas, On Sat 20 Nov 2010 19:18, Andreas Rottmann a.rottm...@gmx.at writes: Andy Wingo wi...@pobox.com writes: set-exception-printer! : exception-printer - nothing Did you mean the following? set-exception-printer! : key exception-printer - nothing Of course, yes. It seems I