Hello,
Before I knew it is possible to emulate read-line by instantiating
a flexi-stream I have written a stream-read-char and
stream-read-line implementations of my own.
Actually, the code was shamelessly borrowed from SBCL.
However, they are not thoroughly tested or profiled.
Please, take a look, darcs patches are attached.
With best regards,
Victor Anyakin
http://vityok.org.uahttp://znaete.org.ua