Oddities with the haskell language server
Haskell Community [Unofficial]
February 22, 2026
Last time I had to set up HLS outside of Visual Studio Code, I had to make sure that haskell-language-server-wrapper typecheck was working correctly.
In my case, the problem stemmed from HLS not knowing the project root. Since I use cabal, I had to add a file hie.yaml at the root of my project:
> cat hie.yaml
cradle:
cabal:
Discussion in the ATmosphere