This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 305: Should we move the c...r and c....r procedures into a new module?

2012-10-05 06:58:19
WG1 - Core
cowan
major
cowan
fixed
source
closed
2011-10-21 00:50:24
defect

They have been required for a long time, but Alex Shinn says:

I definitely think everything but the one and two depth combinations should be removed from (scheme base). Their use is generally a code smell. People should use destructuring, records, or SRFI-1 first..tenth accessors.

Ray Dillinger (Bear) adds:

The historic use of these entities was as accessors for structured aggregates implemented with cons cells. In a language that directly supports records, they have a reduced mission.

Arthur Gleckler is against this.

I'm on the fence.

On reflection, they are the Right Thing when dealing with trees built from conses. They are only problematic when used for lists.

So I'm against this migration.

statusnewdecided

The WG voted to adopt this proposal, moving c...r and c....r procedures to the (scheme cxr) library.

owneralexshinncowan
statusdecidedwriting
resolutionfixed
statuswritingclosed