lsp
lsp copied to clipboard
Discussion: Expose Haskell-LSP-types and Haskell-LSP from the same package
In cabal 3 it is now possible for a package to have multiple public libraries. https://fgaz.me/posts/2019-11-14-cabal-multiple-libraries/
This would fix the issue where we have two packages in deadlock (Haskell-LSP-types and Haskell-LSP must be the same version) whilst also allowing us to split them out.
On the other hand it is a breaking change, requiring at least cabal 3.0 and GHC 8.8. There seems to be some caveat with cabal-install too. We should possibly look at doing this later once support for it becomes more widespread
I think we need to defer this for a while.
In practical terms, we have to manage haskell-lsp
, haskell-lsp-types
, and lsp-test
.