scheme-macros
scheme-macros copied to clipboard
Possibly typo in Exercise 2
In https://github.com/mnieper/scheme-macros/blob/main/README.org?plain=1#L3400 it says
2. Write a macro ~when-all~ such that ~(when-all test-expression
... expression)~ evaluates ~expression~ only if all
~test-expressions~ evaluate to ~#f~. The macro should
short-circuit the evaluation the ~test-expressions~ as soon as one
evaluates to ~#f~.
The sentence only if all ~test-expressions~ evaluate to ~#f~ seems to be weird. when macro evaluates its body when its cond evaluates to non-#f. And if we go on like that, when-all should evaluate its body when all ~test-expressions~ all evaluate to non-#f.
Is it a typo?