Fix example in readme

forgot parens.
This commit is contained in:
Linus 2021-05-18 18:18:17 +02:00
parent f6d22792b0
commit aa77fef2ad

View file

@ -79,9 +79,9 @@ Due to clause reordering, positional updates are not supported. If you want to u
``` scheme ``` scheme
(loop ((:for a (in-list 1 2 3) (loop ((:for a (in-list 1 2 3)
(:bind b (expensive-operation1 a)) (:bind (b (expensive-operation1 a)))
(:when (test? b)) (:when (test? b))
(:bind c (expensive-operation2 b)) (:bind (c (expensive-operation2 b)))
(:when test2? c) (:when test2? c)
(:acc acc (listing c)))) (:acc acc (listing c))))
=> acc) => acc)