On Tue, Feb 24, 2009 at 6:03 PM, John Cowan <[email protected]> wrote:
> Andre van Tonder scripsit:
>
>> I am not sure if we are talking past each other.  In an R6RS <toplevel body>
>> you have /both/ the ability to reference macros before they are defined
>> /and/ the ability to interleave expressions with definitions.  This is an
>> existence proof that the former does not exclude or negatively impact the
>> latter.
>
> Tangent: Can someone explain to me what the merit is in being able to
> reference macros before they are defined in *any* context?  Perhaps there
> is one, but I don't see it.

If you define a macro to that simulates a value definition form with a
macro definition form (this is what my `define-inline' example does,
using `syntax-rules'), then you would probably want to have mutual
recursion among these definitions be possible.

This might be a bit of expressiveness in the macro system that could
be given up at the REPL, though.

-- 
sam th
[email protected]

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to