home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / lisp / lispnews / text0243.txt < prev    next >
Encoding:
Text File  |  1985-11-10  |  630 b   |  16 lines

  1. Common Lisp also faces the possibility of inconsistent system code due
  2. to the handling of cases marked "is an error" (see Manual, sec. 1.2.4);
  3. that is, it is undefined as to what happens if you apply CAR to a
  4. non-LISTP.  All portable system code should therefore certify the type
  5. of a datum before taking car or cdr.  ASSOC (and ASSQ) from the Franz
  6. sources clearly doesn't check the type of the arguments before carcdring
  7. away on them.
  8.  
  9. Well, why not "all system code should certify the type before taking
  10. car/cdr . . . " -- it certainly can't hurt to "signal an error" rather
  11. than fall into some undefined morass.
  12.  
  13. -- JonL --
  14.  
  15.  
  16.