From e151e74563aa2fe9ef4609ca85f5e049cb90d4c4 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 5 Feb 2021 15:59:59 +0530 Subject: Use let* instead of declare and set. * src/macros/macros.sc (with-alloc): Use let* instead of declare and set. --- src/macros/macros.sc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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))) -- cgit v1.2.3