[plt-scheme] syntax/loc vs #'

From: Doug Orleans (dougo at place.org)
Date: Wed Mar 24 15:16:24 EST 2004

The syntax documentation says:

  Use syntax/loc instead of syntax whenever possible to help tools
  that report source locations.

I've come to agree with this after trying to debug syntax-munging
code, but I've grown accustomed to using #' (and #`) as a nice
abbreviation of syntax (and quasisyntax).  Is there really ever a
reason to use syntax instead of syntax/loc?  Why doesn't syntax/loc
have an abbreviation instead?  Is it simply because it takes two

--dougo at place.org

Posted on the users mailing list.