From: Mathieu Bouchard Date: 2001-02-20T03:21:49+09:00 Subject: [ruby-talk:11128] Re: Summary: RCR #U002 - proper new name for indexes On Tue, 20 Feb 2001, Jean Michel wrote: > > Array#[, ] > >but that functionality is duplicated by: > > Array#[..] > I must say that despite the fact that this would change incompatibly the > language in a big way, I like very much this proposal. Much cleaner than > current ruby semantics, in my opinion. But probably not feasible :( Array#[[ ]] is a possibility. Like: a=[2,3,5,7,11,13] a[[1,5,4]] #=> [3,13,11] (i am not for nor against this one. or rather, i'm both for and against this one.) matju