diff options
author | Marvin Borner | 2023-04-08 17:14:54 +0200 |
---|---|---|
committer | Marvin Borner | 2023-04-08 17:14:54 +0200 |
commit | 67b6713b221a25763d1c08e12e8b715d432db5f8 (patch) | |
tree | 40843861e9aaacc47beba57479c0b78bcfea8f08 /std/Box.bruijn | |
parent | 5e5069c5228f2cd39de38ace9134f57293cc7e5d (diff) |
Various improvements to standard library docs
Diffstat (limited to 'std/Box.bruijn')
-rw-r--r-- | std/Box.bruijn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/Box.bruijn b/std/Box.bruijn index 3e3cbfa..1bdac0a 100644 --- a/std/Box.bruijn +++ b/std/Box.bruijn @@ -29,7 +29,7 @@ store! [[empty? 1 (box 0) 1]] ⧗ (Box a) → a → (Box a) :test (store! empty [[1]]) (box [[1]]) # sets/overrides the value of a box -set! [[(box 0)]] ⧗ (Box a) → a → (Box a) +set! [[box 0]] ⧗ (Box a) → a → (Box a) :test (set! (box [[0]]) [[1]]) (box [[1]]) :test (set! empty [[1]]) (box [[1]]) |