From 67b6713b221a25763d1c08e12e8b715d432db5f8 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 8 Apr 2023 17:14:54 +0200 Subject: Various improvements to standard library docs --- std/Box.bruijn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/Box.bruijn') 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]]) -- cgit v1.2.3