aboutsummaryrefslogtreecommitdiff
path: root/driver/Main.hs
diff options
context:
space:
mode:
authorChaitanya Koparkar <ckoparkar@gmail.com>2018-05-10 11:44:58 -0400
committerSimon Jakobi <simon.jakobi@gmail.com>2018-06-13 23:01:34 +0200
commita8a84a3dda95022738534971a77eb856885b5ed0 (patch)
treeb0105933fc6fb148f99853b25972db91daddc7a6 /driver/Main.hs
parent53fd41f2510d9ae81079ef5a8bfdf5f515185387 (diff)
Use the response file utilities defined in `base` (#821)
Summary: The response file related modules were recently copied from `haddock` into `base`. This patch removes them from `haddock`. GHC Trac Issues: #13896
Diffstat (limited to 'driver/Main.hs')
-rw-r--r--driver/Main.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/driver/Main.hs b/driver/Main.hs
index 852f44c7..44df4692 100644
--- a/driver/Main.hs
+++ b/driver/Main.hs
@@ -1,8 +1,7 @@
module Main where
import Documentation.Haddock (haddock)
-import ResponseFile (expandResponse)
-import System.Environment (getArgs)
+import GHC.ResponseFile (getArgsWithResponseFiles)
main :: IO ()
-main = getArgs >>= expandResponse >>= haddock
+main = getArgsWithResponseFiles >>= haddock