I am still making most macros using syntax-rules and syntax-case because
when I happened to learn macros these were the paths of least resistance.
Every once in a while I try to learn a little more of syntax-parse since
the few times I've tried it I really liked it.

It appears that, in general, syntax-rules and syntax-case use what
syntax-parse considers "datum-literals", which the docs say are recognized
"symbolically" versus actual literals which are recognized "by binding."
The example in the documents for some reason clarifies nothing since both
expressions are the same and give the same output, making this a
distinction without an obvious difference.

Can someone explain the intention behind #:literals as opposed to
#:datum-literals? In what cases should I consider #:literals? Why would I
want to avoid #:datum-literals, or vice versa?

Thanks,
Deren

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to