So I can do this:
(defparameter *some-function* ... ; returns lambda later
or this:
(defun some-function ...
With either, I can use funcall
:
(funcall 'some-function ...
or
(funcall *some-function* ...
With the defun
version I can also do this:
(some-function ...
I cannot do that with the defparameter
function.
defparameter
provides easier technique for re-assigning some-function
to a different function (or anything else, including non-function data) later.
But other than these two points, what are other considerations of using one over another?
flet
and/orlabels
, which I find a nice description of here. – Sovereignty