From 02f04d92f3176ce7f89005462777e59e8ac48a2a Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 19 Apr 2016 21:05:52 +0200 Subject: [PATCH] Fix missing whitespace in hsimport.hs prettyPrint String --- hacking/hsimport.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacking/hsimport.hs b/hacking/hsimport.hs index e55cca6..d5d66b3 100644 --- a/hacking/hsimport.hs +++ b/hacking/hsimport.hs @@ -8,7 +8,7 @@ main = hsimport $ defaultConfig { prettyPrint = prettyPrint where prettyPrint :: HS.ImportDecl -> String prettyPrint (HS.ImportDecl sloc modname qual _ _ mpkg mas mspec) = - "import " ++ (ifStr qual "qualified") ++ + "import " ++ (ifStr qual "qualified ") ++ (maybe "" (\pkg -> " \"" ++ pkg ++ "\" ") mpkg) ++ getMN modname ++ (maybe "" (\name -> " as " ++ getMN name) $ mas) ++ specprint mspec