Search code examples
inputioschemechez-scheme

How to read a line of input in Chez-Scheme?


I can't find out how to do this. In previous implementations read-line was available but for some reason it isn't in Chez.

How do I just read a line of input?


Solution

  • Chez Scheme is the R6RS implementation. Use the R6RS get-line instead of the R7RS read-line.