Noel, it's just that a few of my commands ask for more input. It's not the correct domain, but it's something like the difference, in a linux system of useradd to adduser. I have those that receive a lot of arguments, and other commands that do the same but build the arguments by asking the user some questions (with read-line). Problem is, when I call the command, the first (read-line) inside it will return always "" because of the newline I used to call the command itself.
I wonder if it'd be easy (and not break anything) to make the REPL consume whitespaces between datums. As of now I they are working with the hack I posted before: The only problem is that at times, if the user truly wants to give a blank line, he needs to press enter twice. On Fri, Jan 7, 2011 at 8:32 AM, Noel Welsh <[email protected]> wrote: > On Fri, Jan 7, 2011 at 2:01 AM, Alexandre Moreira <[email protected]> > wrote: >> Thanks everyone for your responses. Unfortunately I planned on using >> the REPL as a kind of shell for a little utility I need, so I guess >> I'll only have to live with it. > > What additional functionality do you need beyond in your shell beyond > the REPL? Why not just type commands into the REPL directly? I'm a bit > confused by this use case. If you expand on it perhaps we can come up > with an alternative. > > N. > -- "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

