6.2.900.17
10 Preserving Source Locations
(require syntax/quote) | package: base |
The syntax/quote module
provides support for quoting syntax so that its source locations
are preserved in marshaled bytecode form.
syntax
(quote-syntax/keep-srcloc datum)
(quote-syntax/keep-srcloc #:source source-expr datum)
Like (quote-syntax datum), but the source locations of
datum are preserved. If a source-expr is provided,
then it is used in place of a syntax-source value for
each syntax object within datum.
Unlike a quote-syntax form, the results of evaluating the expression multiple times are not necessarily eq?.