Today's inane new elisp macro of mine:
(defmacro f_x (&rest Body)
"Make these expressions a function with 'x' holding its one parameter"
(list 'function (cons 'lambda (cons (cons 'x nil) Body))))
So this:
(f_x (print "I like pie and %s" x) (* 3.14 x))
is a handy shorthand that expands to this:
(function (lambda (x) (print "I like pie and %s" x) (* 3.14 x)))
An alternative approach (Score:1)
This just came to me; I stole the idea from the implicitly-declared parameters in Perl 6.
Re:An alternative approach (Score:2)