fix warnings
authorSimon Marlow <marlowsd@gmail.com>
Thu, 9 Dec 2010 11:58:44 +0000 (11:58 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 9 Dec 2010 11:58:44 +0000 (11:58 +0000)
ghc/InteractiveUI.hs

index 31c1dba..e22eaef 100644 (file)
@@ -294,11 +294,14 @@ findEditor = do
 
 foreign import ccall unsafe "rts_isProfiled" isProfiled :: IO CInt
 
+default_progname, default_prompt, default_stop :: String
 default_progname = "<interactive>"
-default_args = []
 default_prompt = "%s> "
 default_stop = ""
 
+default_args :: [String]
+default_args = []
+
 interactiveUI :: [(FilePath, Maybe Phase)] -> Maybe [String]
               -> Ghc ()
 interactiveUI srcs maybe_exprs = do