From 1ccb3c92a4c074a12550c584d3651ace2d7c0131 Mon Sep 17 00:00:00 2001 From: nodist Date: Wed, 17 Jun 2026 14:24:51 -0400 Subject: qualifiers as % --- docs/type_system/shared.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/type_system/shared.md') diff --git a/docs/type_system/shared.md b/docs/type_system/shared.md index 9ddef26..dcb31d5 100644 --- a/docs/type_system/shared.md +++ b/docs/type_system/shared.md @@ -5,7 +5,7 @@ Hold multiple references to the same object ```text -`shared +%shared ``` # Garbage Collection @@ -15,11 +15,11 @@ A tracing mark and sweep garbage collector is used # Mutating ```text -x : `shared Array $ (1; 2; 3) +x : %shared Array $ (1; 2; 3) ^ x {[y] y `push 4 } -`log x // `shared Array[I64] $ (1; 2; 3; 4) +`log x // %shared Array[I64] $ (1; 2; 3; 4) ``` # Operators @@ -31,8 +31,8 @@ x : `shared Array $ (1; 2; 3) ### Example sharing data between two shared objects ```text -x : `shared 1 -y : `shared 0 +x : %shared 1 +y : %shared 0 z : ^ x {[x] x } ^ y {[y] y : z } -- cgit v1.2.3