Zhe*_*hen 8 profiling haskell ghc
是否可以在不安装分析库的情况下对Haskell程序进行分析?
当我将-prof选项传递给ghc时,我总是得到像这样的错误:
src/MyPKG/FooBlah.lhs:7:7:
Could not find module `Data.Time.Calendar':
Perhaps you haven't installed the profiling libraries for package `time-1.1.4'?
Use -v to see a list of the files searched for.
Run Code Online (Sandbox Code Playgroud)
我知道解决方案是安装库的cabal配置文件版本,但有时这是一个痛苦的屁股(抱歉坏语言).
我认为应该可以对我的程序进行分析,并且没有符号的调用应该????在输出中显示为类似的东西.