Fix missing whitespace in hsimport.hs prettyPrint String
This commit is contained in:
parent
a61b409486
commit
02f04d92f3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user