[plt-scheme] Re: Interaction of shared and first, second, etc. (bug?)

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Jul 29 11:10:52 EDT 2008


At Tue, 29 Jul 2008 01:47:34 -0400, David Van Horn wrote:
> Car operates on pairs, while first operates only on lists.

To be clear, this was a v4.0 change.

In previous versions, `first' was a synonym for `car' in all of our
languages. In v4.0, we decided to take advantage of constant-time
`list?' and make `first' and `rest' insist on list arguments. 


Matthew




Posted on the users mailing list.