⬅ 🏠 Home
The following is a list of all the keywords in the language.
| Keyword | Use |
|---|---|
from |
Specify where to import from |
import |
Specify what to import |
as |
Specify alias of import |
| Keyword | Use |
|---|---|
type |
When constructing an interface (abstract base class) or type alias |
class |
Denote a class |
isa |
Check whether an object is instance of a class |
when |
Conditional types |
| Keyword | Use |
|---|---|
self |
Refer to definitions of this class |
init |
The constructor of the class |
forward |
Forwarding methods of contained class |
| Keyword | Use |
|---|---|
def |
Denote definition |
fin |
Denote defined variable is immutable |
pure |
Denote function is pure |
| Keyword | Use |
|---|---|
not |
Negation of a boolean value |
and |
And operator |
or |
Or operator |
is |
Check whether an instance is another instance |
| Keyword | Use |
|---|---|
mod |
Modulus operator |
sqrt |
Square root operator |
| Keyword | Use |
|---|---|
if |
Denote start of if expression or statement |
then |
Denote start of then branch of if |
else |
Denote start of else branch of if |
match |
Denote start of a match expression or statement |
| Keyword | Use |
|---|---|
while |
Denote start of while statement |
for |
Denote start of for statement |
in |
Specify which collection to iterate over in for statement |
do |
Specify what needs to be done in control flow statement |
continue |
Continue onto next iteration within loop |
break |
Exit loop |
| Keyword | Use |
|---|---|
return |
Return from a function or method |
pass |
Empty placeholder statement |