stack new myTest
cd myTest
stack build --test --haddock --no-haddock-hyperlink-source
stack打包
stack ghc xxxx.hs
stack查看安装了哪些包
stack exec ghc-pkg -- list
stack new myTest
cd myTest
stack build --test --haddock --no-haddock-hyperlink-source
stack打包
stack ghc xxxx.hs
stack查看安装了哪些包
stack exec ghc-pkg -- list