[Ecls-list] Strange non-catching of error
Ralf Mattes
rm at mh-freiburg.de
Fri Jun 6 21:40:34 UTC 2008
On Fri, 06 Jun 2008 17:24:43 -0400, Geo Carncross wrote:
> On Fri, Jun 6, 2008 at 4:19 AM, David Creelman <creelman.david at gmail.com> wrote:
> ...
>> I wondered if SBCL might tell me more, so I tried it and it complained with
>>
>> debugger invoked on a TYPE-ERROR in thread #<THREAD "initial thread" {A8846F9}>:
>> The value |#NEWLINE| is not of type CHARACTER.
>>
>> This was quite useful. It found my typo. Would it be possible to get ECL to
>> behave in a similar way to this?
>
> \#newline is just a symbol named #NEWLINE and is perfectly allowed;
> "\" is simply the escape character. Try 'F\o\o
>
> The error is in fact some place inside "out" or "combine", or perhaps
> the result of "quoted", none of which is present here.
I'd say the error is most likely one solvable by C-t in emacs :-)
I assume the OP just misstyped \#newline instead of CommonLisp's
#\newline.
HTH Ralf Mattes
More information about the ecl-devel
mailing list