@@ -53,6 +53,12 @@ reservedPsNames = [ "data"
57+-- The characters allowed for use in operators
60+opChars = ":!#$%&*+./<=>?@\\^|-~"
57-- A list of reserved identifiers for types
63-- A list of reserved identifiers for types
@@ -82,13 +88,13 @@ identLetter = P.alphaNum <|> P.oneOf "_'"
82-- Valid first characters for an operator
88-- Valid first characters for an operator
84opStart :: P.Parsec String u Char
90opStart :: P.Parsec String u Char
85−opStart = P.oneOf ":!#$%&*+./<=>?@\\^|-~"
91+opStart = P.oneOf opChars
88-- Valid operators characters
94-- Valid operators characters
90opLetter :: P.Parsec String u Char
96opLetter :: P.Parsec String u Char
91−opLetter = P.oneOf ":!#$%&*+./<=>?@\\^|-~"
97+opLetter = P.oneOf opChars
94-- The PureScript language definition
100-- The PureScript language definition