Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ and open the path printed on the last line of that command.

* Unary and binary arithmetic operators
- `- x`, `not b`
- `a + b`
- `a + b`, `c ** d`

* Object, actor, and array literals, field/element access and update
- `{c = 3; var x = 4; f() {return y}; private y = 9}`
Expand Down Expand Up @@ -231,6 +231,9 @@ and open the path printed on the last line of that command.
- `if b ... else ...`
- `switch x { case 1 ...; case 2 ...; case _ ...}`

* Short-circuit logical operators
- `b and c`, `a or d`

* While loops and iterations
- `while (p()) ...`
- `loop ...`
Expand All @@ -248,9 +251,6 @@ and open the path printed on the last line of that command.
* Type annotation
- `e : T`

* Instance check
- `x is T`

* Assertions
- `assert (x > 0)`

Expand Down