diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
