ashinn / chibi-scheme

Official chibi-scheme repository
Other
1.23k stars 141 forks source link

SRFI 231: Fix for array-any #963

Closed gambiteer closed 6 months ago

gambiteer commented 6 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)))