[r6rs-discuss] [Formal] please make square brackets more useful
Eli Barzilay wrote:
> > (define-syntax let
> > (syntax-rules (*square-bracketed*)
> > ((let ([?var ?val] ...) ?body ...)
> > ((lambda (?var ...) ?body ...) ?val ...))))
>
> Which would be the same as (syntax-rules [] ...)?
Sure.
> What about (car '[])?
That would evaluate to *square-bracketed* (or
whatever), just as (car '#'0) evaluates to
syntax.
Will
Received on Tue Jun 19 2007 - 17:50:00 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:01 UTC