如题,Vector 在常用包里,但是我 import 直接寄了,是我哪里写错了吗。
报错:
[1 of 1] Compiling Main ( /tmp/compiler_rmn4nmss/CheungPoWah.hs, /tmp/compiler_rmn4nmss/CheungPoWah.o )
/tmp/compiler_rmn4nmss/CheungPoWah.hs:1:1: error:
Could not find module ‘Data.Vector.Unboxed’
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
1 | import Data.Vector.Unboxed
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
测试代码:
import Data.Vector.Unboxed
main = do
putStrLn "6"