8 hours ago, Sam Tobin-Hochstadt wrote: > On Wed, Aug 31, 2011 at 1:51 PM, Eli Barzilay <e...@barzilay.org> wrote: > > An hour ago, sa...@racket-lang.org wrote: > >> +Modified to use `syntax-parse' and multiple macros by Sam > >> +Tobin-Hochstadt, 2011. > > > > AFAICT, you're not using anything that `synatx-rules' can't do, so > > what's the point? > > Better error messages, hopefully.
Um, but you didn't do that: -> ,r srfi/11 -> (let-values ([(x x) 1]) 2) ; readline-input:4:17: let: duplicate identifier at: x in: (let ((x x) (x x)) ; (begin 2)) [,bt for context] -> (let-values ([(x 1) 1]) 2) ; readline-input:5:17: let: bad syntax (not an identifier) at: 1 in: (let ((x ; x) (1 x)) (begin 2)) [,bt for context] -> (let-values ([(x 1) 2 3]) 2) ; readline-input:6:22: let-values/bind: unexpected term at: 3 in: ; (let-values/bind (((x 1) 2 3)) () (begin 2)) [,bt for context] -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev