Arc Forumnew | comments | leaders | submitlogin
1 point by ly47 5139 days ago | link | parent

Hi readline1 dose not function as read-line in common lisp. I type (read-line) and and arc is waiting to enter something so I type my string including spaces like: Hi there. output is: "Hi there" NIL Thanks ly


1 point by rocketnia 5139 days ago | link

Right, I expect the version I linked you to doesn't behave exactly like Common Lisp's readline. I just hope it can help. :)

I don't fully understand your example. Did you try something like (do (readline) (readline)), like I was talking about? I'm guessing that since Arc's REPL takes commands and other input from the same stream, it's already different from the REPL you're used to, regardless of how readline works.

-----

1 point by ly47 5139 days ago | link

Hi (do (readline) (readline)) works !!! Thanks ly

-----

1 point by rocketnia 5139 days ago | link

Awesome! ^_^

-----