Subject: Re: What's the point of flet?
From: Erik Naggum <erik@naggum.net>
Date: Wed, 31 Oct 2001 04:47:28 GMT
Newsgroups: comp.lang.lisp
Message-ID: <3213492447303997@naggum.net>

* Thomas F. Burdick
| Sort of, but I'm guessing you didn't read his example.  This will work:
:
| This, on the other hand, will get stuck in an infinite recursion:

  No.  Both should have only and exactly _no_ effect.  A Common Lisp
  compiler has every right to assume that you will _not_ redefine car and
  cdr or any other symbols in the COMMON-LISP package with a standard
  function binding and can therefore do whatever it pleases with calls to
  such functions without consulting their function definition.

  Try again with a user-defined function, instead.

///
-- 
  Norway is now run by a priest from the fundamentalist Christian People's
  Party, the fifth largest party representing one eighth of the electorate.
-- 
  Carrying a Swiss Army pocket knife in Oslo, Norway, is a criminal offense.