-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Can calt do differenciate strings and functions? #1207
Comments
The issue questions if the differentiation can be made and the backlog from version 1.1 speaks about calt. https://github.com/i-tu/Hasklig/releases/tag/1.1 |
No, it can’t be differentiated from the font. You need syntax highlighting in the editor that can apply different features to different regions. I think you can have something like that in Atom/VS Code |
So the syntax highlighting does change the character ultimately to the ligature then? |
Ligature can be made a font feature which can be turned on or off (e.g. ss** or cv**). You then use syntax highlighting to turn that feature OFF for most of the code, but ON only in identifiers, for example. As a result, it will only be applied to identifiers. |
Ah, wonderful |
Hi there :)
I am currently rooting for \ becoming the lambda symbol in Haskling.
They are using your calt code, so I thought you are a great address to tell us something about its capabilities.
Is it possible to differentiate between functions and strings, as mentioned in the Haskling issue?
Thanks!
The text was updated successfully, but these errors were encountered: