Is anyone using data parallel Haskell with the 2012.4.0.0 Haskell
platform?
I'm a Haskell beginner - but wanted to experiment with switching from lists to parallel arrays.
When I try and run
cabal install dph-examples
I get a build problem with bmp.1.2.3.1
:
Codec\BMP.hs:208:11: Not in scope: `BSL.fromStrict'
Sure this is some type of version mismatch - but nor sure what to do. Any experts out there?
bmp
depends onbytestring
andbinary
.binary
depends onbytestring
itself. Yourbinary
package was built withbytestring-0.9.2.1
, the version that came with the platform.When trying to
cabal install bmp
,cabal
tries to install the latest version for which it can construct a valid install plan without reinstalling libraries (if possible at all). With abinary
built with abytestring-0.9.2.1
, that isbmp-1.2.3.1
, where the author forgot to bump the lower bound of thebytestring
version, so the build fails sincefromStrict
was added inbytestring-0.10
.You can either install an earlier version of
bmp
,which is the safe option, or you can rebuild
binary
against the newerbytestring
version. The latter likely will break some other packages depending onbinary
, so those would have to be rebuilt too. And for a package likebytestring
which many other packages depend on, it would also be likely that a similar problem occurs soon again.