[racket] read text file

From: Sam Phillips (samdphillips at gmail.com)
Date: Mon Dec 6 21:52:37 EST 2010

On Mon, Dec 6, 2010 at 6:43 PM, prad <prad at towardsfreedom.com> wrote:
> but what am i supposed to in racket?
> (other than read-line right through to the end of the file, may be?)

In unstable/port there is read-all.  Which you could use like

(list->string (read-all read-char port))


Posted on the users mailing list.