GHCI unable to recognize packages installed with Cabal on windows 10
问题 I am a beginner with Haskell and for an assignment I needed to install System.Random. So I installed the package using Cabal through command line (originally with cabal install random and then with cabal install --lib random ), however, when I run GHCI it doesn't recognize that the package is installed. When I run it I get this error: Could not find module `System.Random' Use -v to see a list of the files searched for. | 3 | import System.Random | ^^^^^^^^^^^^^^^^^^^^ Failed, no modules