[racket] Syntax objects and pairs

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Jul 7 14:26:57 EDT 2014

I agree that the answer should be #t and serialization to bytecode is
wrong to change the result. I'll look into the problem sometime soon.

At Sun, 6 Jul 2014 16:16:46 -0700, Eric Dobson wrote:
> What should the following program return?
> 
> #lang racket
> (syntax? (cdr (syntax-e #'(2 . ()))))
> 
> If I just run the program with 'racket' I get #t. If I compile it with
> 'raco make' and run it again I get #f.
> 
> I'm trying to figure out how to type this in TR, and thought I fully
> understood how pairs and syntax objects interacted but this change (by
> the serialization?) violates my understanding.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.