[plt-scheme] reading a whole file

Stephen De Gabrielle spdegabrielle at gmail.com
Tue Nov 4 09:20:13 EST 2008


This is embarassing, as I'm sure I've asked it before, but can't find
the answer;

Is there a function to read a whole file into memory (as a string)

 (lambda (i) (read-string 80000 i))
or is there something better?

Cheers,

Stephen



More information about the plt-scheme mailing list