oh wait, is it eval?

eval(:(:x)) -> :x?

On Friday, April 1, 2016 at 5:52:42 PM UTC-7, vis...@stanford.edu wrote:
>
> > x = :(:x)
> > $x
>
> *ERROR: unsupported or misplaced expression $*
>
>
> Is there a quote/unquote function that mimics the behavior or what happens 
> when you wrap something with :() or do $x? I want to retrieve what's inside 
> the variable x's expression.
>
> It's not sufficient to just wrap in Expr(:quote, ...) since that's not the 
> same as :() and similarly I can't find any documentation on how to unquote 
> something.
>
> There must be some routine being called in order to do the 
> quoting/unquoting - is there a way to access it?
>
>
> Vishesh
>

Reply via email to