[Haskell-cafe] Creating Repa arrays from unboxed vectors

Janek S. fremenzone at poczta.onet.pl
Thu Oct 4 13:58:12 CEST 2012


Thanks!

> This makes it look like you've got two versions of vector installed,
This is true, I have vector-0.9.1 and vector-0.10, but
> with Repa built against the version that _isn't_ 0.9.1.
this, I think, is not exactly correct:

[root at GLaDOS : /dane/download] ghc-pkg field repa depends
depends: QuickCheck-2.4.2-41cb2884cc20cd78948de62849bd9667
         base-4.5.0.0-6db966b4cf8c1a91188e66d354ba065e
         bytestring-0.9.2.1-18f26186028d7c0e92e78edc9071d376
         ghc-prim-0.2.0.0-c2ff696e5b8ec4d4b2bc2e42085fe471
         template-haskell-2.7.0.0-133c0fdb189e05de22bd926d39f99fe3
         vector-0.9.1-04dd5c58c224b03a4dc90091cf93a01d

So Repa is build againts 0.9.1. Everything works when I do "ghc-pkg hide vector-0.10.0". Is there 
a way to tell GHCi which version of library it should load? I tried -XPackageImports but it 
doesn't allow to specify version of a package, only its name (or I don't know how to specify 
version).

Jan



More information about the Haskell-Cafe mailing list