I'm trying to understand what this is supposed to do:

(define (parse stx)
  (syntax-case stx ()
    [(_ p ...) #'(p ...)]))

(display (parse #'(1 2 3)))

If I run this in DrRacket with first line #lang racket
I get a syntax object containing a list: #<syntax:7:17 (2 3)>

If I run with #!r6rs instead I get a list of syntax objects:
{ #<syntax:9:21 2> #<syntax:9:23 3> }


Is this a legitimate difference between two languages? Or is one of them
right and the other wrong?

Thanks.

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to