Haskell: 如何查看"Prelude"里面的历史命令?

Haskell: how to view command history inside "Prelude"?

你好:我希望在 Prelude 中列出所有历史命令,就像任何 unix shell 可以在 "history" 命令中一样。我尝试了几种猜测但都失败了。我该怎么做?

我的出现在 ~/.ghc/ghci_history,但根据您的机器,它可能位于不同的位置。