emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anaphoric lambda macro doesn't work anymore?


From: Constantin Kulikov
Subject: Re: Anaphoric lambda macro doesn't work anymore?
Date: Mon, 18 Jan 2016 12:32:00 +0300

emacs -version
GNU Emacs 25.0.50.1

emacs -Q

M-: (require 'cl) RET
M-: (defmacro alambda (args &rest body) `(labels ((self ,args ,@body)) #'self)) RET
M-: (funcall (alambda (a b) (if (a > b) (message "%s %s" a b) (self b a))) 1 2) RET
 
Debugger entered--Lisp error: (void-function self)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]