title: Could not find module ‘Text.Regex.Posix’
body: <p>I want to try doing regexes in GHCi. I tried loading the module</p>
  
  <pre><code> :mod +Text.Regex.Posix
  </code></pre>
  
  <p>But got this error instead</p>
  
  <pre><code>&lt;no location info&gt;:
      Could not find module ‘Text.Regex.Posix’
      It is not a module in the current program, or in any known package.
  </code></pre>
  
  <p>But I should have Text installed</p>
  
  <p><code>ghc-pkg find-module Text.Regex.Posix</code> would give me</p>
  
  <pre><code>/usr/local/Cellar/ghc/7.8.4/lib/ghc-7.8.4/package.conf.d
  /Users/a/.ghc/x86_64-darwin-7.8.4/package.conf.d
  </code></pre>
  
  <p>What do I do?</p>
  
  <p>I have no problem with this though:</p>
  
  <pre><code>import Text.Read
  </code></pre>
  
  <p>Why?</p>