I am not sure if this is the case, but did you, actually, look at the status message cabal
returned when you attempted installing repa
?
On my Windows system the latest (as of today, 2012.4.0.0) Haskell platform fails to install the latest (3.2.3.1) version of repa
, e. g. cabal install repa
doesn't work, saying that it would cause reinstalling of some system packages, thus possibly breaking the system. If I try installing anyway (with cabal install repa --force-reinstalls
), it fails anyway, with an arcane status error message. If, by any chance, you didn't pay attention to the fact that the installation failed, and tried importing it anyway, I think the error message you get will be exactly what you had ("Could not find module...").
I was able, however, to install an earlier version of repa
, namely 3.2.1.1
, with cabal install repa-3.2.1.1
I haven't tried using it yet, but at least importing and :m + Data.Array.Repa
seems to work just fine.