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. For a version of this page that may be more recent, see EmbeddedCrLf in WG2's repo for R7RS-large.

Embedded­Cr­Lf

cowan
2012-05-17 04:48:53
1history
source

I ran usual set of existing implementations under Linux with input redirected to a file containing:

(write (string-length "abc def"))

where the line break is CR+LF.

Racket, Gauche, Chicken, Bigloo, Scheme48/scsh, Guile, SISC, Chibi, STklos, SigScheme, Scheme 9 report 8.

MIT, Kawa, Chez, SCM, Ikarus, Larceny, Ypsilon, Mosh, IronScheme report 7.