aboutsummaryrefslogtreecommitdiff
path: root/docs/tables.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-04 18:29:09 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-04 18:29:09 -0400
commit7b735ab6fc3e0bb368f1ca484168eaefbbe3ce9c (patch)
tree4a7c78bb0967b8fbc1042d901cf0346705d9d0d8 /docs/tables.md
parent0b8074154e2671691050bdb3bcb33245625a056c (diff)
Misc fixes
Diffstat (limited to 'docs/tables.md')
-rw-r--r--docs/tables.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tables.md b/docs/tables.md
index 83c80b2b..93ee3eb9 100644
--- a/docs/tables.md
+++ b/docs/tables.md
@@ -43,7 +43,7 @@ table := {"A"=1, "B"=2}
>> table["A"]
= 1?
>> table["missing"]
-= none:Int
+= none
```
As with all optional values, you can use the `!` postfix operator to assert
@@ -77,7 +77,7 @@ table value:
>> t2.fallback
= {"A"=10}?
>> t.fallback
-= none:{Text=Int}
+= none
```
### Default Values
@@ -225,7 +225,7 @@ The value associated with the key or `none` if the key is not found.
= 1?
>> t:get("????")
-= none:Int
+= none
>> t:get("A")!
= 1