Subject: Re: Returning the name of a function
From: Erik Naggum <>
Date: 2000/01/18
Newsgroups: comp.lang.lisp
Message-ID: <>

* Sashank Varma
| how about something like the following?
| ? (defmacro magic-defun (name lambda-list . body)
|     `(defun ,name ,lambda-list
|        (flet ((magic-function ()
|                 ',name))
|          ,@body)))

  while it appears to solve a problem, it actually doesn't.  the problem is
  to know where you are in the code you are trying to figure out why is not
  working as it should.  the solution is a backtrace.  the solution is to
  read the manual and understand how Common Lisp differs from C in such a
  way that debugging code in them differs also.

  what would we do without C?  we would have PASAL, BASI, OBOL, and Ommon Lisp.