renamed return-from-home to revert
All checks were successful
continuous-integration/drone/push Build is passing

treated return and revert as keywords
This commit is contained in:
2024-08-22 18:10:41 +09:00
parent 191c123cb6
commit 229d3b1f29
6 changed files with 45 additions and 20 deletions

View File

@ -8,7 +8,7 @@ defun repeat(n f) {
defun test-non-local-ret-1(k) {
repeat 10 (fun() {
set k (+ k 2);
if (= k 28) { return-from-home k };
if (= k 28) { revert k };
});
return k;