Not long ago I started to read Teach Yourself Scheme in Fixnum Days (http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-1.html). Section 2.2.3 Dotted Pairs and Lists (http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-1.html#node_toc_...) introduces the functions cons, car, and cdr. Are these function names abbreviations or acronyms? What words do they represent? More specifically, what does the 'a' in car mean and what does the 'd' in cdr mean? Thank you, Derek
Afficher les réponses par date
"a"ddress and "d"ecrement. See: http://en.wikipedia.org/wiki/Car_and_cdr Guillaume On Dec 19, 2007 5:47 PM, Derek Mahar <derek.mahar@gmail.com> wrote:
Not long ago I started to read Teach Yourself Scheme in Fixnum Days (http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-1.html). Section 2.2.3 Dotted Pairs and Lists ( http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-1.html#node_toc_... ) introduces the functions cons, car, and cdr. Are these function names abbreviations or acronyms? What words do they represent? More specifically, what does the 'a' in car mean and what does the 'd' in cdr mean?
Thank you,
Derek _______________________________________________ MSLUG mailing list MSLUG@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/mslug
participants (2)
-
Derek Mahar -
Guillaume Germain