From e5f1630c5ab4c942d3287f92cbb71f34267dc747 Mon Sep 17 00:00:00 2001 From: nodist Date: Wed, 17 Jun 2026 14:25:11 -0400 Subject: qualifiers as % --- shared_counter.kpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shared_counter.kpl b/shared_counter.kpl index 0be8c24..d5d9efa 100644 --- a/shared_counter.kpl +++ b/shared_counter.kpl @@ -1,10 +1,10 @@ // Notice how counter can only be modified as read as [c] -counter : `shared 0 +counter : %shared 0 -inc_dec :([amount] - header : `const `format "WHITE#Counter:# " +inc_dec : ([amount] + header : %const `format "WHITE#Counter:# " body : ^ counter {[c] c +: amount ? { @@ -19,9 +19,9 @@ inc_dec :([amount] inc : inc_dec `bind 1 dec : inc_dec `bind -1 -actions : `const 1_000 +actions : %const 1_000 -batch : `const 100 +batch : %const 100 runner : ([fn] total : actions -- cgit v1.2.3