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.

Is this a known limitation or a bug or some stupidity on my part? If
it's something with racket, do you guys know of any workaround? I plan
on making a read-line wrapper that checks to see if the first attempt
is an empty line and if so, calls read-line again taking whatever it's
result is, but I'd rather live without those hacks if at all possible.

Am I missing some sort of configuration for the REPL?

Thanks,
Alexandre Moreira.

-- 
"Bad programming is easy. Idiots can learn it in 21 days, even if they
are dummies."
- As seen in 'How to Design Programs'
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to