-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fsharp apostrophes in names #1480
Comments
On exercism/exercism#3831 there is a screenshot of a bigger chunk of code which suffers from the same problem. |
F# allows apostrophes in the variable name?! Weird... |
Thats pretty common in functional languages. Also I haven't even checked so far, what would happen when one uses typevariables in a function. They are preceeded with an apostrophe, and highlighted as a string as well, check this example which could be a stub for a function that maps a function over a list: let map (f: 'a -> 'b) (xs: 'a list): 'b list = failWith "not implemented" In this example we get 2 strings highlichted: |
The following code example:
The
'
are treated as string delimeters instead of as part of the name.The text was updated successfully, but these errors were encountered: