[REBOL] Re: Macro - function problems
From: robbo1mark:aol at: 13-Mar-2002 2:37
Hi Romano,
Your solution is a close approxmiation of what Iam
looking for - which is basically a higher order 'MACRO
function which return a function bound to the 'name
argument which when evaluated binds a paren! or 'DOES
function to the first 'SPEC or 'ARGS argument and in
turn substitutes any / all remaining args in the 'SPEC
correctly in the resulting paren! or 'does function 'BODY .
As I said Iam sure it is possible to produce such a macro constructor function which
even allows for "nested" macros within the 'args or 'body.
Will think more about your solution,
cheers & thanks,
Mark
In a message dated Tue, 12 Mar 2002 7:20:52 PM Eastern Standard Time, "Romano Paolo
Tenca" <[rotenca--telvia--it]> writes: