1

在 google 或 hackage 中找到存储库并不容易。

我在哪里可以找到源代码?

4

1 回答 1

2

包的源代码在ghc-prim这里:http ://git.haskell.org/ghc.git/tree/HEAD:/libraries/ghc-prim

(如果该链接再次断开,请看这里:https ://hackage.haskell.org/package/ghc-prim-0.5.0.0 )。

请注意,GHC.Prim模块本身是在编译器内部定义的,不对应于任何.hs文件:https ://ghc.haskell.org/trac/ghc/wiki/Commentary/PrimOps 。

于 2013-03-26T23:00:20.387 回答