aboutsummaryrefslogtreecommitdiff
path: root/docs/tables.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/tables.md
parent90573ba7a15bb47a11c1eb6f69ed04c01b69724d (diff)
Add `NULL` as a syntax for null values.
Diffstat (limited to 'docs/tables.md')
-rw-r--r--docs/tables.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tables.md b/docs/tables.md
index 1de58118..6a6c7004 100644
--- a/docs/tables.md
+++ b/docs/tables.md
@@ -48,9 +48,9 @@ was found or error if it wasn't:
```tomo
>> t := {"x":1, "y":2}
>> t:get("x")
-= 1?
+= 1 : Int?
>> t:get("????")
-= !Int
+= NULL : Int?
>> t:get("x")!
= 1
```
@@ -187,10 +187,10 @@ The value associated with the key or null if the key is not found.
```tomo
>> t := {"A":1, "B":2}
>> t:get("A")
-= 1? : Int?
+= 1 : Int?
>> t:get("????")
-= !Int : Int?
+= NULL : Int?
>> t:get("A")!
= 1 : Int