summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index fda328d..7def09c 100644
--- a/README.md
+++ b/README.md
@@ -141,6 +141,7 @@ union Data {
i: int;
f: float;
}
+```
#### Type Aliases
Create a new name for an existing type.
@@ -206,7 +207,8 @@ match shape {
#### Loops
```zc
// Range
-for i in 0..10 { ... }
+for i in 0..10 { ... } // Exclusive (0 to 9)
+for i in 0..=10 { ... } // Inclusive (0 to 10)
for i in 0..10 step 2 { ... }
// Iterator/Collection