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/glob.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/glob.scm') diff --git a/module/glob.scm b/module/glob.scm index 82489565..64f97690 100644 --- a/module/glob.scm +++ b/module/glob.scm @@ -26,10 +26,10 @@ (define (glob str) (let ((bv (make-bytevector 100))) - (let* ((globret (glob% (string->pointer str) - glob-flags - (procedure->pointer int glob-err (list '* int)) - (bytevector->pointer bv)))) + (let ((globret (glob% (string->pointer str) + glob-flags + (procedure->pointer int glob-err (list '* int)) + (bytevector->pointer bv)))) (unless (zero? globret) (scm-error 'misc-error "glob" "Globret errror ~a" -- cgit v1.2.3