Aleksi wrote:

# As an idiom Array#[pos,len]= works ok, but have couple of traps. First, 
it
# autoflattens.

I have a generic terminology question about the use of "autoflatten" in 
Ruby and other languages (e.g. Perl, Scheme, Python, etc.). Does anyone 
know offhand if "(auto)flatten" generally means "completely flatten all 
levels of nesting" or "just flatten the shallowest level of nesting"?

Conrad Schneiker
(This note is unofficial and subject to improvement without notice.)