[racket] REPL and read-line

From: Hendrik Boom (hendrik at topoi.pooq.com)
Date: Thu Jan 6 17:00:36 EST 2011

On Thu, Jan 06, 2011 at 04:09:49PM -0200, Alexandre Moreira wrote:
> Hello, everyone. I'm trying to use the (read-line) function in
> racket's REPL  and I'm having a weird problem. Whenever I type
> (read-line) in the REPL prompt it returns the empty string. It's as if
> it is receiving the linefeed character I use to enter the command on
> the REPL.

You could try to call (read-line) twice and see if the secone one 
returns what you want.  This would confirm your suspicions,

-- hendrik

Posted on the users mailing list.