From ... From: Erik Naggum Subject: Re: Returning the name of a function Date: 2000/01/18 Message-ID: <3157207388993059@naggum.no>#1/1 X-Deja-AN: 574354773 References: <948127089900@NewsSIEVE.cs.bonn.edu> mail-copies-to: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 948224953 27790 195.0.192.66 (18 Jan 2000 19:49:13 GMT) Organization: Naggum Software; +47 8800 8879 or +1 510 435 8604; fax: +47 2210 9077; http://www.naggum.no User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5 Mime-Version: 1.0 NNTP-Posting-Date: 18 Jan 2000 19:49:13 GMT Newsgroups: comp.lang.lisp * 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. #:Erik