Re: Is this a good use for restart-bind?
- From: Christophe Rhodes <csr21@xxxxxxxxx>
- Date: Fri, 31 Mar 2006 17:38:39 +0100
Peter Seibel <peter@xxxxxxxxxxxxxxx> writes:
Alan Crowe <alan@xxxxxxxxxxxxxxxxxxxxxxx> writes:
;;;; Using restart-bind to offer explanations for errors
This seems reasonable. Another option would be to figure out how to
encode enough information into a condition object be able to generate
the explanation elsewhere.
This is in fact what SBCL does for its reference conditions, which
generates text of the form
See also:
The ANSI Standard, Macro DEFCONSTANT
The SBCL Manual, Node "Idiosyncrasies"
when SBCL is running at a terminal and someone ends up redefining a
constant incompatibly. If they are running in SLIME, they get
clickable links for the reference sources. At present this isn't done
with non-restarting restarts but through the condition printer
directly.
Christophe
.
- References:
- Is this a good use for restart-bind?
- From: Alan Crowe
- Re: Is this a good use for restart-bind?
- From: Peter Seibel
- Is this a good use for restart-bind?
- Prev by Date: Re: Common Lisp implementations are still multiple times slower than C
- Next by Date: Re: What language will be used to write the first self aware program?
- Previous by thread: Re: Is this a good use for restart-bind?
- Next by thread: array initialization: dimension list not constant
- Index(es):