I am happy to announce the first release of popenhs, version 0.00.
popenhs is a very small Haskell library, based on runProcess
in hslibs' posix library. It provides lazy output from
subprocesses through two functions popen2 and popen3.
The source and rpm files are available from:
http
At 2001-10-16 11:12, Michael Marte wrote:
>But I need String -> String!
>(Reading from a file, decompressing, and feeding it to the XML parser.)
>How can I do this?
The "reading from a file" part is arguably a misdesign in the standard
libraries. There ought to be Word8-based file IO functions
Hello *,
I am just trying to catch up with the lastest developments.
>From qforeign-0.64 to qforeign-0.65, some types were changed:
"Zlib and Bzip2 express byte lists as [Word8] instead of String."
But I need String -> String!
(Reading from a file, decompressing, and feeding it to the XML parse
> I didn't try ghc-5.02 since I haven't installed it yet.
Could you do that? The IO library in 5.00.2 had a bug in fdToHandle
which meant that it didn't put the file descriptor into non-blocking
mode, and I suspect this is the cause of your problem.
Cheers,
Simon
_