0
Follow
2
View

Haskell build issue (Module `Language.Haskell.TH.Syntax' does not export `returnQ')

cyflove23 注册会员
6 days ago


The problem is the ms-tds package uses returnQ instead of just return for some reason, which was never necessary for user code and was removed in GHC 9. This is something that should be properly fixed on their end, which I opened https://github.com/mitsuji/ms-tds/issues/1 about. In the meantime, there's two ways you can use this package anyway. The easier approach is to downgrade to GHC 8.10.7. Your other option is to download the source of that package, comment out that import, replace all returnQs with returns, and then set up Cabal to use your local copy of it, like this.