Tanaka Akira (akr / m17n.org) wrote:
> 
> a = BadAlias.new
> e1 = a
> e2 = a
> a.replace Array[e1, e2] # Is BadAlias#replace implementable practically?
> 

Yes, exactly.  You describe it succinctly and with true examples, Akira.

> But I recommends:
> 
> a = Array.new
> a[0] = a
> a[1] = a
>

And my problem with this is that I don't know the type of the node when
`a' needs to be created.  Yes, I do the above for every other reference
in a YAML document, but not possible for cyclical references.

_why