[plt-scheme] syntax/loc for synthesized location data

From: Dave Herman (dherman at ccs.neu.edu)
Date: Thu Feb 26 20:52:05 EST 2009

[I tried sending this to plt-dev but it isn't showing up for some  

Is there a reason why the following should fail to attach source  
location information?

 > (define loc
    (datum->syntax #f 'hello (list #f 100 4 4 5)))
 > loc
 > (define stx
    (syntax/loc loc
      (list 1 2 3 4 5)))
 > stx


Posted on the users mailing list.