Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法改变 ghc-mod 的目标?
我有一个包含两个部分的 cabal 文件:一个库目标和一个测试目标。Ghc 正确检测库目标中的包的模块。
但是,如果我只将包添加到测试目标(例如 QuickCheck),它会将“导入”标记为错误。有什么解决方法吗?