ghcid

ghcid is advertisied as “a very low feature GHCi based IDE”. When one uses ghcid, Haskell’s lack of formal IDE support becomes less of an issue; because ghcid provides the most important feature of instant-recompilation feedback, all in the terminal.

https://github.com/ndmitchell/ghcid

Haskell

Links to this page
  • PureScript mini-tutorial using Nix

    Not using any fancy IDE, I find ghcid to be critical to my Haskell development workflow; its fast compile-reload cycle facilitates a very delightful development experience. I wanted to have this with PureScript. Fortunately, such a tool exists — pscid. pscid is available in Nix, so you may simply restart that nix-shell as:

  • Nix recipes for Haskellers

    You can use the above nix-shell command in the shebang to create self-contained Haskell scripts. Let us see an example, but using ghcid, instead of runhaskell:

  • Haskell Gotchas
  • Announcing Ema - Static Sites in Haskell

    A little over a year ago I created the rib static site generator in Haskell based on Shake and ghcid. The idea was to be able to write a more intuitive (so no Makefile-like rules) set of instructions for building a static site, in a type-safe language while enabling quick recompilation cycle that ghcid provided, all made reproducible in Nix.

  • A brief F# exploration
    Fast development reload workflow works super well in Haskell, thanks to ghcid. In .NET, you have dotnet watch - but that recompiles the whole project on every change leading to annoying delay*; it made me switch back to using Haskell for DSL-based static sites, while live-reload is essential to get quick feedback on things like CSS changes.