mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Capitalization
This commit is contained in:
2
types.md
2
types.md
@@ -75,7 +75,7 @@ var t: type = astype [int]; //t is a type, representing an array of integers
|
|||||||
var u: type = [int]; //Error! it tried to assign an array with the sole entry "int"
|
var u: type = [int]; //Error! it tried to assign an array with the sole entry "int"
|
||||||
```
|
```
|
||||||
|
|
||||||
## First-Class citizens
|
## First-Class Citizens
|
||||||
|
|
||||||
Types are first-class citizens. What this means is that they can be used just like any other value, as well as being stored in variables, and even returned from functions.
|
Types are first-class citizens. What this means is that they can be used just like any other value, as well as being stored in variables, and even returned from functions.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user