CmdID

CmdID / Commands

ghcid

Simple and efficient CLI IDE for Haskell that reloads code on file changes. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Simple and efficient CLI IDE for Haskell that reloads code on file changes. Continuously displays compile errors, warnings, and test results.

Start ghcid and monitor a Haskell file for changes

ghcid path/to/Main.hsIdentify

Start ghcid with a specific command, such as loading a Stack or Cabal project

ghcid --command "stack ghci Main.hs"Identify

Run an action (default main) on each file save

ghcid --run=action path/to/Main.hsIdentify

Set maximum height and width (default to console height and width)

ghcid --height=height --width=width path/to/Main.hsIdentify

Write full GHC compiler output to a file

ghcid --outputfile=path/to/output_file.txt path/to/Main.hsIdentify

Execute REPL commands (eg. -- $> 1+1) on each file save

ghcid --allow-eval path/to/Main.hsIdentify