@@ -637,7 +637,7 @@ prettyPrintSingleError full level showWiki e = flip evalState defaultUnknownMap
637637 renderSimpleErrorMessage (CycleInDeclaration nm) =
638638 line $ "The value of " ++ showIdent nm ++ " is undefined here, so this reference is not allowed."
639639 renderSimpleErrorMessage (CycleInModules mns) =
640− paras [ line $ "There is a cycle in module dependencies in these modules: "
640+ paras [ line "There is a cycle in module dependencies in these modules: "
641641 , indent $ paras (map (line . runModuleName) mns)
642642 ]
643643 renderSimpleErrorMessage (CycleInTypeSynonym name) =
@@ -671,7 +671,7 @@ prettyPrintSingleError full level showWiki e = flip evalState defaultUnknownMap
671671 sortRows' :: ([(String, Type)], Type) -> ([(String, Type)], Type) -> (Type, Type)
672672 sortRows' (s1, r1) (s2, r2) =
673673 let common :: [(String, (Type, Type))]
674− common = sortBy (comparing fst) $ [ (name, (t1, t2)) | (name, t1) <- s1, (name', t2) <- s2, name == name' ]
674+ common = sortBy (comparing fst) [ (name, (t1, t2)) | (name, t1) <- s1, (name', t2) <- s2, name == name' ]
675675
676676 sd1, sd2 :: [(String, Type)]
677677 sd1 = [ (name, t1) | (name, t1) <- s1, name `notElem` map fst s2 ]
@@ -840,8 +840,9 @@ prettyPrintSingleError full level showWiki e = flip evalState defaultUnknownMap
840840 paras [ line "A case expression could not be determined to cover all inputs."
841841 , line "The following additional cases are required to cover all inputs:\n"
842842 , indent $ paras $
843− [ Box.hsep 1 Box.left (map (paras . map (line . prettyPrintBinderAtom)) (transpose bs)) ]
844− ++ [ line "..." | not b ]
843+ Box.hsep 1 Box.left
844+ (map (paras . map (line . prettyPrintBinderAtom)) (transpose bs))
845+ : [line "..." | not b]
845846 , line "Or alternatively, add a Partial constraint to the type of the enclosing value."
846847 , line "Non-exhaustive patterns for values without a `Partial` constraint will be disallowed in PureScript 0.9."
847848 ]
@@ -973,7 +974,7 @@ prettyPrintSingleError full level showWiki e = flip evalState defaultUnknownMap
973974 line "An anonymous function argument appears in an invalid context."
974975
975976 renderSimpleErrorMessage (InvalidOperatorInBinder op fn) =
976− paras $ [ line $ "Operator " ++ showIdent op ++ " cannot be used in a pattern as it is an alias for function " ++ showIdent fn ++ "."
977+ paras [ line $ "Operator " ++ showIdent op ++ " cannot be used in a pattern as it is an alias for function " ++ showIdent fn ++ "."
977978 , line "Only aliases for data constructors may be used in patterns."
978979 ]
979980
@@ -1197,11 +1198,11 @@ prettyPrintMultipleWarnings full = unlines . map renderBox . prettyPrintMultiple
11971198
11981199-- | Pretty print warnings as a Box
11991200prettyPrintMultipleWarningsBox :: Bool -> MultipleErrors -> [Box.Box]
1200−prettyPrintMultipleWarningsBox full = prettyPrintMultipleErrorsWith Warning "Warning found:" "Warning" full
1201+prettyPrintMultipleWarningsBox = prettyPrintMultipleErrorsWith Warning "Warning found:" "Warning"
12011202
12021203-- | Pretty print errors as a Box
12031204prettyPrintMultipleErrorsBox :: Bool -> MultipleErrors -> [Box.Box]
1204−prettyPrintMultipleErrorsBox full = prettyPrintMultipleErrorsWith Error "Error found:" "Error" full
1205+prettyPrintMultipleErrorsBox = prettyPrintMultipleErrorsWith Error "Error found:" "Error"
12051206
12061207prettyPrintMultipleErrorsWith :: Level -> String -> String -> Bool -> MultipleErrors -> [Box.Box]
12071208prettyPrintMultipleErrorsWith level intro _ full (MultipleErrors [e]) =