[r6rs-discuss] [Formal] please make square brackets more useful

Eli Barzilay eli at barzilay.org
Tue Jun 19 16:45:41 EDT 2007


On 6/16/07, William D Clinger <will at ccs.neu.edu> forwarded:
>
> (define-syntax let
>    (syntax-rules (*square-bracketed*)
>      ((let ([?var ?val] ...) ?body ...)
>       ((lambda (?var ...) ?body ...) ?val ...))))

Which would be the same as (syntax-rules [] ...)?

What about (car '[])?

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!



More information about the r6rs-discuss mailing list