title: How to use Text.Parsec in GHC-8.2.2 and Cabal-2.0.0.1
body: <p>As I know <code>Text.ParserCombinators.Parsec</code> is replaced by <code>Text.Parsec</code></p>
  
  <p>Here, it is my environment</p>
  
  <pre><code>4.9.73-1-MANJARO
  
  The Glorious Glasgow Haskell Compilation System, version 8.2.2
  
  cabal-install version 2.0.0.1
  compiled using version 2.0.1.0 of the Cabal library 
  </code></pre>
  
  <p>The following source code is my <code>main.hs</code></p>
  
  <pre><code>module Main where
  import System.Environment
  import Text.Parsec
  
  main :: IO ()
  main = do
       args &lt;- getArgs
       putStrLn (readExpr (args !! 0))
  </code></pre>
  
  <p>and then I compile it</p>
  
  <pre><code>$ ghc -package parsec -o main main.hs
  </code></pre>
  
  <p>It occurs the following error messages</p>
  
  <pre><code>[1 of 1] Compiling Main             ( main.hs, main.o )
  
  main.hs:3:1: error:
      Could not find module ‘Text.Parsec’
      There are files missing in the ‘parsec-3.1.11’ package,
      try running 'ghc-pkg check'.
      Use -v to see a list of the files searched for.
    |
  3 | import Text.Parsec
    | ^^^^^^^^^^^^^^^^^^
  rm: cannot remove '*.hi': No such file or directory
  ./run.sh: line 11: ./TestProj: No such file or directory
  </code></pre>
  
  <p>I make sure I have installed <code>parsec</code>. So I want to ask any mistake I've done?</p>
  
  <pre><code>$ cabal install parsec
  Resolving dependencies...
  All the requested packages are already installed:
  parsec-3.1.11
  Use --reinstall if you want to reinstall anyway.
  </code></pre>