title: Not in scope error when trying to use Repa package
body: <p>I'm relatively new to Haskell, and I'm trying to use <code>Repa</code> package in a project. I have imported the package in my source code using <code>import qualified Data.Array.Repa as R</code>, but when loading the Haskell file in ghci, I get the following error:</p>
  
  <pre><code>Location_repa.hs:46:26:
  Not in scope: type constructor or class `D'
  Perhaps you meant `R.D' (imported from Data.Array.Repa)
  
  Location_repa.hs:46:29:
  Not in scope: type constructor or class `Z'
  Perhaps you meant `R.Z' (imported from Data.Array.Repa)
  
  Location_repa.hs:46:30:
  Illegal operator `:.' in type `Z :. (Dimension :: Int)'
  Use TypeOperators to allow operators in types
  .....
  </code></pre>
  
  <p>And here is the part of source code that uses <code>Repa</code>:</p>
  
  <pre><code>type CoordList = Array D (Z:. (Dimension::Int)) Integer
  </code></pre>
  
  <p>It seems as if the package is not imported (loaded). Using <code>ghc-pkg list repa</code> results in the following:</p>
  
  <pre><code>C:/Program Files/Haskell Platform/7.10.2-a\lib\package.conf.d:
  (no packages)
  C:\Users\...\AppData\Roaming\ghc\x86_64-mingw32-7.10.2\package.conf.d:
  repa-3.4.1.1
  </code></pre>
  
  <p>What should I do?</p>