Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!think.com!mintaka!ai-lab!opal!dragon!mfx From: mfx@dragon.opal (Markus Freericks) Newsgroups: comp.lang.lisp Subject: cl type problems Message-ID: Date: 2 Apr 91 10:48:27 GMT Sender: mfx@opal.cs.tu-berlin.de Distribution: comp Organization: /home/pdv/mfx/.organization Lines: 27 Dear Newsgroup! I am relatively new to CL and have stumbled over the following problem: when testing for an nonexisting type, like in (typep 13 'hgsgjs) my AKCL ("June 3,1987",sun4) gives () and no warning. The same in (typecase 13.5 (integer 1)(sguaguy 2)(float 3)(t 4)) which happily returns 3. No my questions: - is this an implementation bug ? - is there any way of testing whether something is a valid type specifier? (I've found none) While this poses no 'real' problem, it can be damn annoying if some type's name was typoed and dispatching code just ignores it. Markus -- Markus Freericks phone: +49-30-4034110 Oranienburger Str. 142 email: mfx@opal.cs.tu-berlin.de 1000 Berlin 26 FRG or mfx%tubopal@DB0TUI11.BITNET