Open nmeum opened 9 months ago
Hello! Typeclass support remains experimental. I just reviewed the tests. There are tests like this that were disabled in the move from ghc 8 to ghc 9, so the chances of making it work without hacking on LH are slim. You could try ghc 8, though that is a tad harder to setup as it requires liquid-base
in addition to liquidhaskell
.
Here there are instructions to test with ghc 8 by building an older LH from the github repo.
Hey, I am new to Liquid Haskell and was interested in using it in conjunction with type classes. For this purpose, I tried the following example from the Liquid Haskell specification:
Running this as:
Gives me the following error message:
This is with liquidhaskell 0.9.2.5.0 and GHC 9.2.5. I also tried this with GHC 9.4.7 and liquidhaskell 0.9.4.7.0 but with this setup I get the same error message. As I said, I am new to liquidhaskell so I suspect I am just using it wrong or is this an expect error given that
--typeclass
is still considered experimental?