[英]Using GHC.runGhc fails with error: "Failed to load interface for ‘GHC.Types’ no unit id matching ‘ghc-prim’ was found"
[英]Where is the source code for ghc-prim?
在Google或黑客中找到存储库并不容易。
在哪里可以找到源代码?
ghc-prim
软件包的源代码在这里: http : ghc-prim
(如果该链接再次断开,请查看此处: https : //hackage.haskell.org/package/ghc-prim-0.5.0.0 )。
请注意, GHC.Prim
模块本身是在编译器内部定义的,并且不与任何.hs
文件相对应: https : GHC.Prim
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.