From: Simon Strandgaard Date: 2004-06-11T20:57:06+09:00 Subject: Re: Array#rest On Friday 11 June 2004 13:41, Alexander Kellett wrote: > On Fri, Jun 11, 2004 at 08:33:38PM +0900, Robert Klemme wrote: > > > Any particular objections to this? Should I make this an RCR? > > > > If you want to do something about this I'd prefer a symmetric solution > > like Array#head and Array#tail or Array#car and Array#cdr. > > first / rest is symmetric... > head / tail unix commands don't default to 1 "line" > car + cdr have crappy names. > i'm sure there is something better for this :) > What about #begin == slice(0..-2) #end == slice(1..-1) -- Simon Strandgaard