#5701: SafeHaskell causes deepseq to fail to compile
------------------------------+---------------------------------------------
Reporter: tibbe | Owner: igloo
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.3 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
Changes (by dterei):
* owner: dterei => igloo
Comment:
OK this is actually a version dependency issue.
DeepSeq is using Safe explicitly. Which should be fine except only
array-0.4.0.0 is using Safe Haskell.
DeepSeq only uses Safe with ghc-7.4 and higher (array-0.4.0.0 is released
with ghc-7.4) so it seems it should be OK. Except the cabal file for
deepseq has an incorrect restriction that array >= 0.1 < 0.4. This
restriction should really be changed to >= 0.1 < 0.5 or something. Or
perhaps even make it >= 0.4. Seems a little fragile to detect if array is
using safe haskell by detecting ghc version. Better to require the correct
array version.
I'm changing the owner to Ian since this is on the stable branch and more
his territory with version numbers and all.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5701#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs