[plt-scheme] Dotted triple?

From: Chris Johnson (cjohnson at cs.wcu.edu)
Date: Wed Nov 19 17:41:22 EST 2003

The other day in class, my professor typed (cdr '(a . b . c)) in 
DrScheme and got (a c) back. (car '(a . b . c)) gives back b. Just '(a . 
b . c) confirms that this is (b a c). I was just wondering why this is. 
Is it some peculiarity of PLT scheme or a bug or what? MIT Scheme and 
guile both complain about '(a . b . c). I was using R5RS as the language 
pack in DrScheme.

-- 
Chris Johnson
cjohnson at cs.wcu.edu
http://www.cjohnson.info





Posted on the users mailing list.