We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0239693 + f9de125 commit 98eaa39Copy full SHA for 98eaa39
src/Language/PureScript/Pretty/Common.hs
@@ -65,5 +65,5 @@ prettyPrintMany f xs = do
65
--
66
prettyPrintObjectKey :: String -> String
67
prettyPrintObjectKey s | s `elem` reservedPsNames = show s
68
- | head s `elem` opChars = show s
+ | any (`elem` opChars) s = show s
69
| otherwise = s
0 commit comments