{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreial3yawl2yzhnjxcnhnnmlg3h3gwlo666fujdqfj3eep2nqwwulla",
    "uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mibth5lk4h32"
  },
  "path": "/t/availability-of-hoogle-haskell-org-etc/13858#post_3",
  "publishedAt": "2026-03-30T07:38:05.000Z",
  "site": "https://discourse.haskell.org",
  "tags": [
    "old article of mine",
    "Hoogle"
  ],
  "textContent": "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:\n\n* * *\n\nIf you need an offline Hoogle too, just `cabal install hoogle`, `hoogle generate` and add this to your `~/.ghci` (I stole this from John Wiegley):\n\n\n    :def hoogle \\x -> return $ \":!hoogle -q --colour -n 10 \\\"\" ++ x ++ \"\\\"\"\n    :def hdoc \\x -> return $ \":!hoogle --info \\\"\" ++ x ++ \"\\\"\"\n\n\nNow you can query hoogle straight from ghci:\n\n\n    λ> :hoogle [a] -> Int\n    Searching for: [a] -> Int\n    Prelude length :: [a] -> Int\n\n\n* * *\n\nI 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.",
  "title": "Availability of hoogle.haskell.org etc"
}