I'm working my way through On Lisp
What's the difference between
thanks.
What's the difference between
(setf (symbol-function 'my-double)
#'(lambda (x) (* x 2)))
and
(setf my-double
#'(lambda (x) (* x 2)))
On SBCL they both seem to produce a function that can be called normally(my-double 2)
4
see end of this section http://www.bookshelf.jp/texi/onlisp/onlisp_3.html#SEC14thanks.