Subject: Re: Redefining CAR/CDR/other standard symbols (was Re: [Q] Dylan to  Java/JVM compiler?)
From: Erik Naggum <erik@naggum.net>
Date: Thu, 10 May 2001 19:10:10 GMT
Newsgroups: comp.lang.lisp
Message-ID: <3198510607976083@naggum.net>

* Lyman Taylor <NO.SPAM.no.spam>
> Pragmatically it "allows" users to do this.

  You cannot redefine common-lisp:car and common-lisp:cdr as functions, but
  you may certainly define a foobar:car and foobar:cdr and shadow-import
  them into a package that otherwise uses the common-lisp package.

  The section you quote from is concerned with symbols in the common-lisp
  package, not symbols with the same name as those in the common-lisp
  package.  This confuses a lot of people from one-namespace, no-packages
  languages.

  If you really want a different make-instance, perform the same trick.

#:Erik
-- 
  Travel is a meat thing.