【问题标题】:Where is ghci.conf if installing GHC using brew cask in mac?如果在 mac 中使用 brew cask 安装 GHC,ghci.conf 在哪里?
【发布时间】:2016-01-01 04:17:54
【问题描述】:

我使用 homebrew-cask 通过运行在我的 mac (OS X 10.11.2) 中安装 haskell-platform:

brew cask install haskell-platform

在我想在 GHCi 中启用语法高亮之前,它一直运行良好。我在this post 中发现我应该在ghci.conf 中添加一行。但是我找不到这个文件在哪里。

【问题讨论】:

    标签: macos haskell haskell-platform homebrew-cask


    【解决方案1】:

    您必须在您的用户目录中创建一个新文件;最终路径应为~/.ghci/Users/<username>/.ghci。该文件默认不存在。详情请参阅the documentation

    【讨论】:

      猜你喜欢
      • 2023-03-15
      • 2019-05-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-07-20
      • 1970-01-01
      • 1970-01-01
      • 2019-01-19
      相关资源
      最近更新 更多