What tool do you use to manage your project: cabal, stack, nix…?
Can you generate local documentation with ability to search it (Hoogle) whether it is executable, library or both including all dependencies?
What tool do you use to manage your project: cabal, stack, nix…?
Can you generate local documentation with ability to search it (Hoogle) whether it is executable, library or both including all dependencies?
I use cabal, and last time I wanted to generate a local Hoogle database, I used GitHub - kokobd/cabal-hoogle. Maybe @LaurentRDC can speak more about it?
Yes I used cabal-hoogle for a while! Not since changing jobs unfortunately, but that is no fault of cabal-hoogle.
We had a nightly job to generate a Hoogle database in GitHub Actions, because cabal-hoogle generate can take some time
There is the stack hoogle command:
It requires hoogle on the PATH.
There are, however, some wrinkles due to Haddock and GHC bugs:
${pkgroot}, used in haddock-html in GHC boot libraries since GHC 9.0.1 · Issue #404 · ndmitchell/hoogleI should return to that pull request; it disappeared from my own radar.