I'm using current latest commit (e930b2f4317c8ec44df1414212a07f948c6f0324) and 2nd method (Cabal+Nix build)
After getting into development environment with nix-shell command, I can use cabal build to build the project successfully. However haskell-language-server returns error:
I'm using current latest commit (e930b2f4317c8ec44df1414212a07f948c6f0324) and 2nd method (Cabal+Nix build) After getting into development environment with
nix-shell
command, I can usecabal build
to build the project successfully. Howeverhaskell-language-server
returns error:I've tried to update
validateGuess
to just returnTrue
:and now it yields different error:
I've also tried adding
{-# INLINABLE ... #-}
to bothgameInstance
andvalidateGuess
but still getting the same error.Is there any additional setup need to be done for HLS to work?
Thank you!