gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: very minor: a better error message?


From: Camm Maguire
Subject: [Gcl-devel] Re: very minor: a better error message?
Date: 22 Mar 2006 16:23:43 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  Should be fixed now.

Take care,

Robert Boyer <address@hidden> writes:

> Below, in "Error in FOO [or a callee]: #\a is not of type NULL."  perhaps the
> error message should say "is not of type SEQUENCE", they way that LENGTH
> nicely does?
> 
> Bob
> 
> -------------------------------------------------------------------------------
> 
> 
> % xg
> GCL (GNU Common Lisp)  2.7.0 ANSI    Mar  8 2006 12:59:16
> Source License: LGPL(gcl,gmp,pargcl), GPL(unexec,bfd)
> Binary License:  GPL due to GPL'ed components: (READLINE BFD UNEXEC)
> Modifications of this banner must retain notice of a compatible license
> Dedicated to the memory of W. Schelter
> 
> Use (help) to get some basic information on how to use GCL.
> Temporary directory for compiler files set to /tmp/
> 
> >(defun foo (x) (declare (optimize safety)) (length x))
> 
> FOO
> 
> >(compile 'foo)
> 
> ;; Compiling /tmp/gazonk_13380_0.lsp.
> ;; End of Pass 1.  
> ;; End of Pass 2.  
> ;; OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3, 
> (Debug quality ignored)
> ;; Finished compiling /tmp/gazonk_13380_0.o.
> Loading /tmp/gazonk_13380_0.o
> start address -T 0x8848520 Finished loading /tmp/gazonk_13380_0.o
> #<compiled-function FOO>
> NIL
> NIL
> 
> >(foo #\a)
> 
> Error in FOO [or a callee]: #\a is not of type NULL.
> 
> Fast links are on: do (si::use-fast-links nil) for debugging
> Broken at CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER.  Type :H for Help.
>  1 (Continue) Supply a new value of #:G1918.
>  2 Return to top level.
> dbl:>>:q
> 
> Nicer:
> 
> 
> Top level.
> 
> >(length #\a)
> 
> Error in LENGTH [or a callee]: #\a is not of type SEQUENCE.
> 
> Fast links are on: do (si::use-fast-links nil) for debugging
> Broken at CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER.  Type :H for Help.
>  1 (Continue) Return to top level.
> dbl:>>
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]