要使用haskell-names进行编译,请执行以下操作 cabal install --haskell-suite -w hs-gen-iface --gcc-option=-I/usr/lib/ghc/include --extra-include-dirs=/usr/lib/ghc/include --solver=topdown -f include-ghc-prim