ghcid
Simple and efficient CLI IDE for Haskell that reloads code on file changes. Continuously displays compile errors, warnings, and test results. More information: https://github.com/ndmitchell/ghcid.
- Start
ghcidand monitor a Haskell file for changes:
ghcid
- Start
ghcidwith a specific command, such as loading a Stack or Cabal project:
ghcid --command ""
- Run an action (default
main) on each file save:
ghcid --run=
- Set maximum height and width (default to console height and width):
ghcid --height= --width=
- Write full GHC compiler output to a file:
ghcid --outputfile=
- Execute REPL commands (eg.
-- $> 1+1) on each file save:
ghcid --allow-eval
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
