Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Commit 6e327ed

Browse files
Remove unused local definitions.
1 parent 1dbe0cd commit 6e327ed

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Language/Haskell/GhcMod/PkgDoc.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ pkgDoc mdl = do
2323
let ret = pkg ++ " " ++ drop 14 htmlpath
2424
return ret
2525
where
26-
toModuleOpts dbs = ["find-module", mdl, "--simple-output"]
27-
++ ghcPkgDbStackOpts dbs
2826
toDocDirOpts pkg dbs = ["field", pkg, "haddock-html"]
2927
++ ghcPkgDbStackOpts dbs
30-
trim = takeWhile (`notElem` " \n")
3128

3229
pkgFindModule
3330
:: IOish m

0 commit comments

Comments
 (0)