ashinn / chibi-scheme

Official chibi-scheme repository
Other
1.2k stars 142 forks source link

SRFI 231: Fix for array-any #963

Closed gambiteer closed 2 months ago

gambiteer commented 2 months ago

I think this is just a typo, you need to remove the #f argument from the call to apply array-for-each in the definition of array-any:

diff --git a/lib/srfi/231/transforms.scm b/lib/srfi/231/transforms.scm
index ae081b43..7898e7df 100644
--- a/lib/srfi/231/transforms.scm
+++ b/lib/srfi/231/transforms.scm
@@ -400,7 +400,7 @@
    (lambda (return)
      (apply array-for-each
             (lambda args (cond ((apply pred args) => return)))
-            #f
+            ;; #f
             array
             arrays)
      #f)))