-
-
Notifications
You must be signed in to change notification settings - Fork 4
unicode
pannous edited this page Dec 25, 2023
·
4 revisions
Wasp is unicode first: Strings are UTF8 by default but in itertion can be accessed by byte, codepoint or grapheme.
Wasp uses uniscript when entering code and when parsing code, that is :infinity is equivalent to the symbol β.
when typing, the colon can be ommited and as in lean you can use many shortcuts:
\nat => β
For entity names also see alias chains like < β less β smaller β lower
We follow the good example of Julia to make most unicode math symbols part of the language: β9 Γ β-2β 6
see alias