summaryrefslogtreecommitdiff
path: root/docs/type_system/empty.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-30 16:13:39 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-30 16:13:39 -0400
commitdd9713497bfc9e27f9b1ff3181d34ee241f05ec8 (patch)
treed5060412fb69387778d863ffaf7a4a47d9ea848e /docs/type_system/empty.md
parentcf9285b1dbdf687630076149413f16e5d4af82e8 (diff)
match internal kpl status
Diffstat (limited to 'docs/type_system/empty.md')
-rw-r--r--docs/type_system/empty.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/type_system/empty.md b/docs/type_system/empty.md
index 7997901..2fae1e7 100644
--- a/docs/type_system/empty.md
+++ b/docs/type_system/empty.md
@@ -13,14 +13,14 @@ Container type can be null
```text
make_array : ([yes]
? yes {
- `some Array $ (1; 2; 3)
- `nome
+ `value Array $ (1; 2; 3)
+ `null
}
)
-v : make_array(...) // %empty Array[I64] $ .none OR %empty Array[I64] $ (.some : (1; 2; 3))
+v : make_array(...) // %empty Array[I64] $ .null OR %empty Array[I64] $ (.value : (1; 2; 3))
# v {
- .some {[x] `log x } // Array[I64] $ (1; 2; 3)
- .none { ... }
+ .value {[x] `log x } // Array[I64] $ (1; 2; 3)
+ .null { ... }
}
// same as above
? v {[x] `log x } // Array[I64] $ (1; 2; 3)