我在我的mac上使用下面的命令栈ghci -package QuickCheck安装了QuickCheck。但仍然无法加载模块
Part1.hs:3:1: error:
Could not find module ‘Test.QuickCheck’
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
3 | import Test.QuickCheck
| ^^^^^^^^^^^^^^^^^^^^^^
Failed, no modules loaded. ```发布于 2021-01-13 13:05:27
是我干的。
阴谋更新
阴谋安装QuickCheck --lib
哈奇
导入Test.QuickCheck
我得到了预期的“前奏曲Test.QuickCheck>”。看来没什么大不了的。
https://stackoverflow.com/questions/65701797
复制相似问题