copyArray# bug

Roman Leshchinskiy rl at cse.unsw.edu.au
Tue Oct 9 13:31:29 CEST 2012


Herbert Valerio Riedel wrote:
> Roman Leshchinskiy <rl at cse.unsw.edu.au> writes:
>
>
> [...]
>
>> If I'm right then I would suggest not to use copyArray# and
>> copyMutableArray# for GHC < 7.8.
>
> I've grepped today's
>
>  http://hackage.haskell.org/cgi-bin/hackage-scripts/archive.tar
>
> for occurences of those two primitives, and this resulted in the
> following matches:
>
> [...]
>
> ...so, are you saying, that those packages above are dangerous to use
> with GHC<=7.6.1?

I don't know about the other packages (it depends entirely on what kind of
arrays they copy and how) but these particular functions in primitive
definitely are dangerous to use. I'll release a hotfix shortly.

Roman






More information about the Glasgow-haskell-users mailing list