-
Notifications
You must be signed in to change notification settings - Fork 347
[Discussion] Character class for apostrophe #549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Don't forget also that |
Proposition is:
|
Some more testing:
|
And apostrophe for DataKinds and TemplateHaskell is prefix operator class. |
Closed
This is more or less fixed in the new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apostrophe is seriously overloaded character in Haskell. Here it goes:
'x'
,'X'
- a char constant'xf'
- Template Haskell Name forxf'
''XF'
- Template Haskell Type forXF'
'\1231'
- a char constant'\SOH'
- a char constant''
- illegal, somewhat char'''XF
- illegalSo apostrophe is a:
xf'
)'x'
)'xf
''XF
)Most of the above can be fixed by
syntax-propertize
. There are two questions though:_
orw
?The text was updated successfully, but these errors were encountered: