ndmitchell / hoogle

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

Hoogle searching the entire DB when specified module/package is not in the DB #215

Closed wz1000 closed 7 years ago

wz1000 commented 7 years ago
$ hoogle +Garbage.Module head
Prelude head :: [a] -> a
Data.List head :: [a] -> a
...

Is it possible to change this to return no results when the specified module is not in the DB? I need this behaviour for https://github.com/haskell/haskell-ide-engine With the current behaviour, we often get wrong documentation/documentation for some other symbol.

ndmitchell commented 7 years ago

That seems entirely reasonable.

ndmitchell commented 7 years ago

Closed by #216.