add :unless modifier to (doc loop)

This commit is contained in:
Andriamanitra 2023-09-21 19:23:40 +03:00
parent 7b4c3bdbcc
commit aeacc0b31b
1 changed files with 3 additions and 0 deletions

View File

@ -592,6 +592,9 @@
* `:when condition` -- only evaluates the current loop body when `condition`
is true.
* `:unless condition` -- only evaluates the current loop body when `condition`
is false.
The `loop` macro always evaluates to nil.
```
[head & body]