[Haskell-cafe] broken IO support in uvector package,
when using non primitive types
Daniel Fischer
daniel.is.fischer at web.de
Fri Mar 13 16:46:42 EDT 2009
Am Freitag, 13. März 2009 21:18 schrieb Manlio Perillo:
> Hi.
>
> I'm sure this is a know bug, but I can't find details with Google.
>
> The offending code is here:
> http://hpaste.org/fastcgi/hpaste.fcgi/view?id=2362
>
> When I execute the program I get:
> uio: readChunkBU: can't read
>
> What's the problem?
>
>
> I'm using uvector from:
> http://code.haskell.org/~dons/code/uvector/
>
>
>
> Thanks Manlio Perillo
>
Worked with uvector-0.1.0.1:
$ ghc --make readUArr.hs
[1 of 1] Compiling Main ( readUArr.hs, readUArr.o )
Linking readUArr ...
$ ./readUArr
2
But not with uvector-0.2
$ ./readUArr
readUArr: readChunkBU: can't read
More information about the Haskell-Cafe
mailing list