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 ImproperLists version 4

author

cowan

comment


    

ipnr

127.11.51.1

name

ImproperLists

readonly

0

text

I tested `memq` on an improper list, first against an object that appears in the list, then against an
object that does not.

In the first case, all 39 Schemes return the tail of the improper list except Mosh, which signals an error.

In the second case, the following Schemes signal an error:  Racket, MIT, Gambit, Scheme48/scsh, Guile, SISC, Chez, SCM, !Ikarus/Vicare, Larceny, Ypsilon, !IronScheme, NexJ, KSi, !SigScheme, Shoe, Dream, BDC, Rep, Schemik, Elk, UMB, VX, Oaklisp, Owl Lisp, Scheme 9.

The following Schemes quietly return #f: Gauche, Chicken, Bigloo, Guile, Chibi, STklos, S7, XLisp, Sagittarius.

time

2014-12-28 09:59:33

version

4