【问题标题】:haskell mod plugin for emacs - REPL not work用于 emacs 的 haskell mod 插件 - REPL 不起作用
【发布时间】:2023-04-08 02:19:01
【问题描述】:

我已经安装了 emacs 和 haskell-mod,我将文件加载到 emacs 中,用 c-c c-l 为 repL 加上星号,出现提示器(带有 lambda),但是当我输入例如 1+2 并按 Enter 时,什么也没有发生。我应该使用其他密钥还是为什么它不起作用? 谢谢, 索林

【问题讨论】:

    标签: haskell emacs interactive read-eval-print-loop


    【解决方案1】:

    Emacs 的 shell 缓冲区不能很好地与 Unicode (lambda) 提示符配合。您可以使用:set prompt "ghci> "手动设置提示。

    要在 shell 启动时自动运行 set prompt 命令,请编辑您的 .ghci file 以包含上述 set 命令。

    【讨论】:

      猜你喜欢
      • 2014-12-23
      • 2011-10-04
      • 2016-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-11
      • 2015-10-28
      相关资源
      最近更新 更多