The fastest way to feed ghc type errors to LLM
Haskell Community [Unofficial]
March 19, 2026
This is what I do, and it works well unless the agent needs to reload ghcid to switch packages or add/remove files from the current package. I find that it gets confused in such cases and I’ll point it at a worktree instead, and just let it run cabal build or whatever, trading off a bit of raw speed for less oversight.
Discussion in the ATmosphere