[Haskell-cafe] Suggestions for a hReadUntilStr implementation

Martin DeMello martindemello at gmail.com
Sat Feb 3 04:16:03 EST 2007

On 2/3/07, Matt Revelle <mrevelle at gmail.com> wrote:

> hReadUntilStr :: (Num a) => Handle -> String -> a -> IO (String, Bool)
> Is this the wrong way to think about the problem?  If so, how should
> it be handled?  If not, any ideas on the implementation?

Sounds like this would grow into a full-fledged expect-type program,
in which case http://www.informatik.uni-bremen.de/uniform/wb/ is
probably worth a look.


More information about the Haskell-Cafe mailing list