Availability of hoogle.haskell.org etc
Haskell Community [Unofficial]
March 30, 2026
I understand this is an infrastructure question, but maybe now everyone is aware that you can run Hoogle locally. From an old article of mine:
If you need an offline Hoogle too, just cabal install hoogle, hoogle generate and add this to your ~/.ghci (I stole this from John Wiegley):
:def hoogle \x -> return $ ":!hoogle -q --colour -n 10 \"" ++ x ++ "\""
:def hdoc \x -> return $ ":!hoogle --info \"" ++ x ++ "\""
Now you can query hoogle straight from ghci:
λ> :hoogle [a] -> Int
Searching for: [a] -> Int
Prelude length :: [a] -> Int
I have switched to local Hoogle years ago and I find a joy to use: never leave the terminal, and you do not have to rely on the internet.
Discussion in the ATmosphere