diff options
author | Arun Isaac | 2021-02-05 15:59:59 +0530 |
---|---|---|
committer | Arun Isaac | 2021-02-05 15:59:59 +0530 |
commit | e151e74563aa2fe9ef4609ca85f5e049cb90d4c4 (patch) | |
tree | a4cfadda8b06b48d60e8fa3bb03a5f569b0e5aac /src | |
parent | 1bbb62ace6da1e258f9781d82311a6b696abf57e (diff) | |
download | nsmc-e151e74563aa2fe9ef4609ca85f5e049cb90d4c4.tar.gz nsmc-e151e74563aa2fe9ef4609ca85f5e049cb90d4c4.tar.lz nsmc-e151e74563aa2fe9ef4609ca85f5e049cb90d4c4.zip |
Use let* instead of declare and set.
* src/macros/macros.sc (with-alloc): Use let* instead of declare and
set.
Diffstat (limited to 'src')
-rw-r--r-- | src/macros/macros.sc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/macros/macros.sc b/src/macros/macros.sc index 6ffc7ec..78e38dc 100644 --- a/src/macros/macros.sc +++ b/src/macros/macros.sc @@ -5,8 +5,6 @@ body ...)) (sc-define-syntax (with-alloc var type allocate free body ...) - (let* () - (declare var type) - (set var allocate) + (let* ((var type allocate)) body ... (free var))) |