From: Sam Phillips (samdphillips at gmail.com) Date: Mon Dec 6 21:54:34 EST 2010 |
|
On Mon, Dec 6, 2010 at 6:52 PM, Sam Phillips <samdphillips at gmail.com> wrote: > 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)) Oh, and there's port->string in racket/port and racket. Cheers, Sam
Posted on the users mailing list. |
|