ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
738 stars 134 forks source link

cabal-install package is not found #222

Closed cocreature closed 7 years ago

cocreature commented 7 years ago

Searching for cabal-install shows cabal-install-bundle, cabal-install-ghc72 and cabal-install-ghc74 but it doesn’t show the cabal-install package itself.

ndmitchell commented 7 years ago

That's because it's an executable, not a library. I agree, that should be fixed though.

cocreature commented 7 years ago

That's because it's an executable, not a library.

I’m a bit confused by this. cabal-install-bundle is also only an executable but it does show up in the search.

ndmitchell commented 7 years ago

Good point. Now I'm thoroughly confused.

ndmitchell commented 7 years ago

Also missing for weeder, which I wrote so I nothing has nothing "funky" in it.

ndmitchell commented 7 years ago

Turns out that any package which was an executable in Stackage wouldn't show up in the list - which includes weeder and cabal-install. I've now fixed that code - just redeploying Hoogle now. Thanks for the report!