Open unode opened 6 years ago
Hoogle at http://haskell.org/hoogle is version 4 of Hoogle, while the command line you install and https://hoogle.haskell.org are both version 5. Version 5 is worse at type search, for the moment, but that's being tracked e.g. https://github.com/ndmitchell/hoogle/issues/218
On https://www.haskell.org/hoogle/ (link in the readme) searching
m (m a) -> m a
showsjoin
as first hit. This matches expectation.Using the command-line version (
hoogle --version -> Hoogle 5.0.17.1, http://hoogle.haskell.org/
):Similar results were seen in
lambdabot
and an entirely different selection on hoogle.haskell.org and stackage.However, prefixing the search with
Monad m =>
produces saner results:Is there any specific syntax that makes the command-line behave more like the web version of hoogle on haskell.org and doesn't require prefixing with
Monad m =>
?