[racket] obtaining name of module-level binding

From: Ryan Culpepper (ryan at cs.utah.edu)
Date: Tue Aug 7 17:09:04 EDT 2012

BTW, there's almost never a need to refer to '#%datum'. Just use 'quote' 
instead.

Ryan


On 08/07/2012 04:58 PM, Danny Yoo wrote:
>>         ;; Question to others: how can this be simplified?
>>         (splicing-let-syntax ([get-literal-metadata
>>                                (lambda (stx)
>>                                  #`(#%datum . #,(format "~s"
>
>
> I did a slight simplification of the code.  I'm putting up the revised
> version here:
>
>      https://gist.github.com/3289283
>
> Hope this helps!


Posted on the users mailing list.