On Monday, May 9, 2016 at 11:10:07 AM UTC-7, Matthew Butterick wrote: > Or `format-id` could be patched to automatically unwrap any syntax object > that contains a single datum, obviating the need for `syntax-e` (which would > seem consistent with its handling of things like #'foo)
Actually, that wouldn't be restrictive enough, because not every "single datum" can properly be part of an identifier. Moreover, that's probably the reason for the restriction against arguments like #'7 in the first place — to preclude uses like `(format-id stx "~a" #'numeric-datum)`, which would not produce a valid identifier. -- 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 racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.