[Top][All Lists]

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

[Gcl-devel] Re: ansi-test

From: Christophe Rhodes
Subject: [Gcl-devel] Re: ansi-test
Date: 17 Dec 2002 09:27:48 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2

Sam Steingold <address@hidden> writes:

>    this is not helpful: I am not told what has happened, what is being
>    tested, why T was expected and what function was not defined.
>    When I try to evaluate the form, I have to strip the `#:' by hand.
>    Please avoid gensyms!

Have you read the comments just by the source of that test?  You
aren't treating a bare :CONC-NAME (or :CONC-NAME NIL) right, in your
definition of structure accessors (the accessors are being interned in
the wrong package).  Personally, I've found going back to the
specification to verify what's going on very useful -- it's brought to
light several other corner cases.

Also, try setting *PRINT-CIRCLE* to T to get an EVALable form, and/or
defining a print-object method on SIMPLE-UNDEFINED-FUNCTIONs to see
the function name, and run the test again.


http://www-jcsu.jesus.cam.ac.uk/~csr21/       +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%")    (pprint #36rJesusCollegeCambridge)

reply via email to

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