The fastest way to feed ghc type errors to LLM
Haskell Community [Unofficial]
March 19, 2026
turion:
> Apologies, Github Copilot does connect to HLS automatically (it just sometimes needs to be reminded of this fact), so it receives the type errors immediately. This is the fastest way I know so far.
Correct, if you have hls running in VSCode, you just need to give the agent the permission to read the problems panel (which is not enabled by default I believe) and it’s able to take the errors appearing there into account. This is great if you have hls + vscode setup. I was looking for something more lighweight which I can run on demand without having to run some persistent process in the background and manage its state.
Discussion in the ATmosphere