From 73a4bfc3d8e9bb5365e33a11a6ad3b8340d5195b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 12 Jun 2022 21:09:35 +0200 Subject: Remove custom let*. While it was nice, the most important part was the multi-valued let from srfi-71 (which is implemented in srfi-71)). The minor pattern matching structures could often be replaced with car+cdr, or a propper match. --- module/vulgar.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'module/vulgar.scm') diff --git a/module/vulgar.scm b/module/vulgar.scm index 20b93164..5e32baa5 100644 --- a/module/vulgar.scm +++ b/module/vulgar.scm @@ -26,11 +26,12 @@ (with-vulgar (bitwise-not (bitwise-ior ECHO ICANON)) thunk)) ((bits thunk) - (let* ((ifd (current-input-port)) - (ofd (current-output-port)) - (iattr (make-termios)) - (oattr (make-termios)) - iattr* oattr*) + (let ((ifd (current-input-port)) + (ofd (current-output-port)) + (iattr (make-termios)) + (oattr (make-termios)) + (iattr* #f) + (oattr* #f)) (dynamic-wind (lambda () (tcgetattr! iattr ifd) -- cgit v1.2.3