haskell-code-explorer
haskell-code-explorer copied to clipboard
[WIP] Port to cabal-helper-1.0 (git)
I'm working on fleshing out the cabal-helper-1.0 API, figured I should see how bad I broke things using the old API so I decided to give porting this project a go. I had to tweak a few things but not too bad overall.
I also fixed compileVersion being too slow (see the discussion here). It only depends on the setup-config header for V1 projects now.
Thank you Daniel!
It would be great to use the new version of cabal-helper.
I guess I should think about how to index multiple packages at once: https://github.com/alexwl/haskell-code-explorer/blob/63ad1f682e64cb6b854e399ed12af3a9986241f8/src/HaskellCodeExplorer/PackageInfo.hs#L162-L164
Also, thank you for the fixed compilerVersion query.
Yeah, indexing multiple packages would also make things easier for users because you can just let the indexer loose on a whole cabal/stack project rather than just one package :)