[Haskell-cafe] Re: [Haskell] Re: Streams: the extensible I/O library
simons at cryp.to
Mon Feb 6 20:05:55 EST 2006
I tried removing the "import System.Win32", but unfortunately it
only got me so far:
| Examples$ ghc -i.. -O2 -funbox-strict-fields --make wc.hs -o wc
| Chasing modules from: wc.hs
| [ 1 of 16] Compiling System.FD ( ../System/FD.hs, ../System/FD.o )
| /tmp/ghc9376_0.hc:6:16: io.h: No such file or directory
| /tmp/ghc9376_0.hc: In function `SystemziFD_zdwccall_entry':
| warning: implicit declaration of function `_eof'
| /tmp/ghc9376_0.hc: In function `SystemziFD_zdwccall1_entry':
| warning: implicit declaration of function `filelength'
| /tmp/ghc9376_0.hc: In function `SystemziFD_zdwccall2_entry':
| warning: implicit declaration of function `tell'
I also downloaded the new release archive, just to be sure. but
it doesn't contain a file "io.h" either. Is that a system header?
The problem seems to be _eof.
> btw, my "wc" has about the same speed as yours :)
I expected nothing less. All your code I've seen so far has been
exceptionally clever. I'm quite curious to try it out.
More information about the Haskell-Cafe