[plt-scheme] reading a whole file

From: Stephen De Gabrielle (spdegabrielle at gmail.com)
Date: 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


Posted on the users mailing list.