Hi,

At Sat, 5 Nov 2005 09:57:09 +0900,
Daniel Berger wrote in [ruby-talk:164299]:
> I understand the duck typing approach.  However, I'm curious why
> rb_ary_aref() explicitly forbids symbols as arguments.  Can you tell me
> why?  Was there some unexpected side effect?

In older versions, symbols were just integers, so Symbol has
to_int method.  But it was considered inappropriate for array
index which is successive.  It is like the appendix, and no
longer in 1.9.

-- 
Nobu Nakada