diff options
-rw-r--r-- | src/Haddock/Backends/Hoogle.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Backends/Hoogle.hs b/src/Haddock/Backends/Hoogle.hs index 33d77bef..4c9c7c66 100644 --- a/src/Haddock/Backends/Hoogle.hs +++ b/src/Haddock/Backends/Hoogle.hs @@ -31,7 +31,7 @@ prefix = ["-- Hoogle documentation, generated by Haddock", ppHoogle :: Maybe String -> [Interface] -> FilePath -> IO () ppHoogle maybe_package ifaces odir = do - let filename = (fromMaybe "hoogle" maybe_package) <.> "txt" + let filename = (fromMaybe "main" maybe_package) <.> "txt" contents = prefix ++ concat [ppModule i | i <- ifaces, OptHide `notElem` ifaceOptions i] writeFile (odir </> filename) (unlines contents) |