I've installed hoogle locally and have run hoogle generate
.
If I run hoogle maybeToEither
I get:
Data.Either.Utils maybeToEither :: MonadError e m => e -> Maybe a -> m a
Either maybeToEither :: Monoid b => (a -> b) -> Maybe a -> b
Network.Haskoin.Util maybeToEither :: b -> Maybe a -> Either b a
However if I use the web search I get a few more entries: https://hoogle.haskell.org/?hoogle=maybeToEither
Is there a way I can generate the same 'database' locally? Or is there possibly a CLI for searching https://hoogle.haskell.org?
According to https://wiki.haskell.org/Hoogle I should be able to run hoogle data
or hoogle data all
- but this seems do just do a search (so maybe outdated?).