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.

Source for wiki ImproperCircularLists version 1

author

cowan

comment


    

ipnr

198.185.18.207

name

ImproperCircularLists

readonly

0

text

Here are the valid uses of improper lists in R7RS-small in contexts where lists (as opposed to arbitrary objects) are expected:

 * As a `lambda`-list
 * As the last argument of `append`
 * As the argument to `list-copy`, which then returns an improper list that is `equal?` to the argument
 
And of circular lists:

 * As the list argument to `list-ref`
 * As the list arguments to `map` and `for-each` (though it is an error if all arguments are circular)

time

2012-11-08 07:51:07

version

1