Please vote once and for good: range operations

Denis Koroskin 2korden at gmail.com
Thu Jan 29 04:35:49 PST 2009


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?



More information about the Digitalmars-d mailing list