Subject: Re: How to display source of interpreted function From: Erik Naggum <erik@naggum.net> Date: 2000/11/10 Newsgroups: comp.lang.lisp Message-ID: <3182847091422316@naggum.net> * John Clonts <jclonts@mastnet.net> | Is there any function I can call to display the source, such as This is pretty simple if you know what to expect, since you can't quite back the source, which exist before macroexpansion of defun. defun store a function definition in the function slot of the symbol, possibly after transforming the function body. (9322) cl-user (defun john (x) (* x x)) => john (9323) cl-user (function-lambda-expression #'john) => (lambda (x) (block john (* x x))) => nil => john The preferred way to display the source is to write your Common Lisp code in the editor and compile (or evaluate) it from there, or compile and/or load the file itself. The Emacs/Lisp interface from Franz Inc or ILISP from other sources or even Emacs' built-in inferior lisp mode may all help in connecting with the running Lisp system to do this. #:Erik -- Al-Gore-ism: a procedure for solving an electoral problem in a finite number of steps that frequently involves repetition of an operation. See also algorithm.