
9 Oct
2012
9 Oct
'12
11:31 a.m.
Herbert Valerio Riedel wrote:
Roman Leshchinskiy
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