Is there a complete list of allowed characters somewhere, or a rule that determines what can be used in an identifier vs an operator?
Is there a complete list of allowed characters somewhere, or a rule that determines
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What I was looking for was the complete list of characters. Based on the other answers, the full list is;
Unicode Punctuation:
Unicode Symbols:
But excluding the following characters with special meaning in Haskell:
A
:is only permitted as the first character of the operator, and denotes a constructor (see An operator symbol starting with a colon is a constructor).