summaryrefslogtreecommitdiff
path: root/docs/type_system/lock.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/type_system/lock.md')
-rw-r--r--docs/type_system/lock.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/type_system/lock.md b/docs/type_system/lock.md
new file mode 100644
index 0000000..0b82088
--- /dev/null
+++ b/docs/type_system/lock.md
@@ -0,0 +1,9 @@
+# Lock
+
+---
+
+Prevents NAME from being modified while TYPE is accessed as a Ref
+
+```text
+Lock[Name; Ref[TYPE]]
+```