summaryrefslogtreecommitdiff
path: root/docs/type_system/option.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/type_system/option.md')
-rw-r--r--docs/type_system/option.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/type_system/option.md b/docs/type_system/option.md
index 2532485..1cc70a7 100644
--- a/docs/type_system/option.md
+++ b/docs/type_system/option.md
@@ -2,7 +2,9 @@
---
-A 128bit value status pair, cannot be stored.
+A 128bit status value pair, cannot be stored.
+
+An option represents not having a value is a possibility
```text
Option[TYPE]
@@ -17,6 +19,10 @@ x : // something that returns an option
If option is none an error is thrown
+# Use with `Empty` qualifier
+
+If the option is assigned to a type with `Empty` an error will not be through if the option is none
+
# Matching
```text