Talk:CAR and CDR
From Wikipedia, the free encyclopedia
[edit] "Use in conversation"
Removed. Not in the least notable or relevant, and beyond that, unsourced/unreferenced. Zero sharp 20:20, 12 June 2007 (UTC)
- Is Jargon File a good enough source? http://www.catb.org/jargon/html/C/cdr.html Grue 13:40, 13 June 2007 (UTC)
[edit] "form"
Not being an experienced lisper, I don't see any connection between
(lambda (a b) (one-thing) (another-thing))
and
(let ((p1 (caadr form)) (p2 (cadadr form)) (body (cddr form)) ...)
What is "form" ? The list of formal parameters? Or is it a keyword with a special meaning understood by every lisper, such as lambda or cons?
Aleph4 (talk) 10:36, 19 March 2008 (UTC)
- It's the datum
'(lambda (a b) (one-thing) (another-thing))
. It is a rather strange example in that it's hard to think of a situation where you could rely on a lambda form having exactly two parameters. More realistically you would bindparams
to(cadr form)
and then use list operations on that, but that would spoil this laudable attempt to find a use for thecadadr
function... -- BenRG (talk) 20:21, 20 March 2008 (UTC)