aboutsummaryrefslogtreecommitdiff
path: root/docs/pointers.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-21 13:00:53 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-21 13:00:53 -0500
commitf868d02b08688c04509d1abda5af89a182033d88 (patch)
treeaf64c48127e0edfebb348edabbccbcc402d2070b /docs/pointers.md
parent90573ba7a15bb47a11c1eb6f69ed04c01b69724d (diff)
Add `NULL` as a syntax for null values.
Diffstat (limited to 'docs/pointers.md')
-rw-r--r--docs/pointers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/pointers.md b/docs/pointers.md
index 174c4296..f1bd1b5a 100644
--- a/docs/pointers.md
+++ b/docs/pointers.md
@@ -113,7 +113,7 @@ inside of any datastructures as elements or members.
```tomo
nums := @[10, 20, 30]
>> nums:first(func(x:&Int): x / 2 == 10)
-= 2?
+= 2 : Int?
```
Normal `@` pointers can be promoted to immutable view pointers automatically,