Clarified readme regarding final-expr
This commit is contained in:
parent
6d305d416b
commit
9988434554
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ This of course also means accumulation is done before the body is executed, whic
|
|||
```
|
||||
|
||||
### Ability to be explicit about returned values
|
||||
If you have no "final expression", denoted by => expr, one is added that returns all final values of the :acc clauses in the loop. If none is present, the return value is unspecified.
|
||||
If you have no "final expression", denoted by => expr, one is added that returns all final values of the :acc clauses in the loop. If no :acc clause or explicit final-expression is present is present, the return value is unspecified.
|
||||
|
||||
``` scheme
|
||||
(loop ((:for a (up-from 1 5))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue