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
2014-12-28 10:32:06
3history
source

In Racket, Gauche, MIT, Gambit, Chicken, Bigloo, Kawa, Chibi, SCM, Vicare, Scheme 9, RScheme, S7, BDC, XLisp, Spark, Inlab, Sagittarius, 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.