[Haskell-cafe] Screen scraping with an interactive process: Buffering problems?

David Benbennick dbenbenn at gmail.com
Tue Nov 6 22:15:14 EST 2007

What about using hGetContents to just read ALL of the input, as a lazy
string?  Then you look through that string for success or failure.  In
other words,

readACL2Answer pout = do
    s <- hGetContents pout
    parse s here

More information about the Haskell-Cafe mailing list