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 ReadLine in WG2's repo for R7RS-large.

Read­Line

cowan
2012-08-03 00:43:11
1history
source

In Racket, Gauche, MIT, Gambit, Chicken, Bigloo, Kawa, Chibi, SCM, Vicare, Scheme 9, RScheme, Scheme 7, BDC, XLisp, Spark, Inlab, read-line returns the next line from the specified or current input port, stripping the trailing end of line.

In STklos it returns two values, the line and the end of line.

In Rep it returns the line including the end of line.