diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2022-07-03 14:37:10 -0700 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2022-07-03 14:37:10 -0700 |
| commit | bcb098e8eb18637b6999789585a38ff9168de9d5 (patch) | |
| tree | fe2bee9fcc5cac8c2f8362c836901f7a3643cb03 /csc/loop.csc | |
| parent | Write closure conversion. (diff) | |
| download | chromatopelma-bcb098e8eb18637b6999789585a38ff9168de9d5.tar.zst | |
Add a diff library.
I was hesitant to add a diff library, but it was surprisingly easy. A
straightforward application of dynamic programming.
Diffstat (limited to 'csc/loop.csc')
| -rw-r--r-- | csc/loop.csc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/csc/loop.csc b/csc/loop.csc index dbd6200..ffe0f3f 100644 --- a/csc/loop.csc +++ b/csc/loop.csc @@ -16,7 +16,9 @@ (define-syntax return (syntax-rules () ((return expr) - (raise (make-return-exception (lambda () expr)))))) + (raise (make-return-exception (lambda () expr)))) + ((return) + (return #f)))) (define-record-type <loop-termination> |
