我试过导入Data.Numbers.Primes
import Data.Numbers.Primesrunhaskell给了我:
5.hs:1:8:
Could not find module `Data.Numbers.Primes'
Use -v to see a list of the files searched for.ghci给了我:
<no location info>:
Could not find module `Data.Numbers.Primes'
It is not a module in the current program, or in any known package.我试图通过阴谋集团安装Data.Numbers.Primes,但我得到了:
cabal update
...
cabal install Data
cabal: There is no package named 'Data'.
You may need to run 'cabal update' to get the latest list of available
packages.
cabal install Data.Numbers.Primes
cabal: The file does not exist 'Data.Numbers.Primes'.帮助?
https://stackoverflow.com/questions/36424064
复制相似问题