[racket-dev] [plt] Push #23408: master branch updated
8 hours ago, Sam Tobin-Hochstadt wrote:
> On Wed, Aug 31, 2011 at 1:51 PM, Eli Barzilay <eli at barzilay.org> wrote:
> > An hour ago, samth at 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!