|
From: | weber |
Subject: | defun vs lambda |
Date: | Fri, 24 Jul 2009 13:30:13 -0700 (PDT) |
User-agent: | G2/1.0 |
Hi, I know I can return a function from another function, like this: (setq f (lambda () 2)) but I have to call it like (funcall f). Is there anyway that I could do: (setf f (defun () 2) and then be able to call (f) ? Thanks weber
[Prev in Thread] | Current Thread | [Next in Thread] |