:(a.b.c.d).args         :(a.b.c).args        :(a.b).args
  :(a.b.c)                :(a.b)               :(a)             
  :(:d)                   :(:c)                :(:b)

in the third example, shows as :a, :(a) just collapses to :a
it is easier to see the progression with the parens put back 

:(a.b.c).args
:(a.b)
:(:c)

it appears th

On Sunday, July 26, 2015 at 6:00:58 PM UTC-4, Cedric St-Jean wrote:
>
> Why is . non-symmetric in a and b?
>
> > :(a.b).args
>
> 2-element Array{Any,1}:
>  :a   
>  :(:b)
>
>
> The second argument is a quotenode, how am I supposed to get to the :b 
> inside it? eval works, but in the Lisp world, that was bad style. I've 
> got a macro that works on this expression, and instead of 
> x.$(rhs.arg[2])
>
> I have to write
>
> x.$(eval(rhs.arg[2])
>
> Cédric
>

Reply via email to