www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Please vote once and for good: range operations

Sean Kelly Wrote:

 head/last
 
 It seems fairly popular and doesn't cause any confusion with 'tail' if 
 we decide to use that later on.
 
 
 Sean

I don't think head/tail gives any confusion (it certainly doesn't to me). I believe 'tail' (meaning 'everything but head') is misused in other languages, the correct term for it is 'rest'. head/tail - first and last elements head/rest - first element and the rest. Is there any ambiguity?
Jan 29 2009