foreach_reverse is better than ever

Pelle Månsson pelle.mansson at gmail.com
Mon Feb 15 14:26:33 PST 2010


On 02/15/2010 09:44 PM, Justin Johansson wrote:
> Isn't it obvious to all and sundry that car is the head element
> of a singly linked list and cdr is the rest of the list with the
> head element removed?

Actually, car is the reference to the first item in the cons cell, and 
cdr is the second. Not just lists, you know. :)



More information about the Digitalmars-d mailing list