ghcid Command Examples

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.

ghcid {{path/to/Main.hs}}

ghcid --command "{{stack ghci Main.hs}}"

ghcid --run={{action}} {{path/to/Main.hs}}

ghcid --height={{height}} --width={{width}} {{path/to/Main.hs}}

ghcid --outputfile={{path/to/output_file.txt}} {{path/to/Main.hs}}

ghcid --allow-eval {{path/to/Main.hs}}