I'm following this guide and I got to the "Write your first parallel Haskell program", where you have you use Control.Parallel. When i try to compile it, I get:
A.hs:1:1: error:
Could not find module `Control.Parallel'
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
1 | import Control.Parallel
| ^^^^^^^^^^^^^^^^^^^^^^^
Nowhere does it say that I have to install anything. Despite that, I ran cabal install --lib parallel and it installed okay but It still cannot find the package. When I run ghc-pkg list parallel is not on the list.
How do I go about solving that?