Skip to content

Commit

Permalink
Fix closing paren
Browse files Browse the repository at this point in the history
  • Loading branch information
paf31 committed Oct 9, 2015
1 parent da00505 commit 2ac5c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Language/PureScript/Pretty/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ insertPlaceholders = everywhereOnTypesTopDown convertForAlls . everywhereOnTypes
convertForAlls other = other

matchTypeAtom :: Pattern () Type Box
matchTypeAtom = typeLiterals <+> fmap ((text "(" <>) . (<> text ")")) matchType
matchTypeAtom = typeLiterals <+> fmap ((`before` text ")") . (text "(" <>)) matchType

matchType :: Pattern () Type Box
matchType = buildPrettyPrinter operators matchTypeAtom
Expand Down

0 comments on commit 2ac5c78

Please sign in to comment.