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 => ℕ
\nat => ℕ
For entity names also see alias chains like < ⭠ less ⭠ smaller ⭠ lower
< ⭠ 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
There was an error while loading. Please reload this page.
Home
Philosophy •
data & code blocks
features
inventions
evaluation
keywords
iteration
tasks
examples
todo : bad ideas and open questions
⚠️ specification and progress are out of sync