[Openmcl-devel] function self reference
Stas Boukarev
stassats at gmail.com
Wed Apr 22 04:15:57 PDT 2015
Taoufik Dachraoui <dachraoui.taoufik at gmail.com> writes:
> Hi
>
> is it possible to reference a function inside its body
>
> I would like to have something equivalent to the following without using
> eval:
>
> *(funcall (funcall (funcall #1=(lambda (n) (if (= n 0) (eval '#1#)
> #2=(lambda (m) (if (= m 0) (eval '#2#) (+ n m))))) 0) 3) 5)*
>
LABELS
--
With best regards, Stas.
More information about the Openmcl-devel
mailing list