]> gitweb.factorcode.org Git - factor.git/commitdiff
sequences.extras: fix builds, stack checker doesn't like a word impl
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 17 Jun 2022 06:46:39 +0000 (01:46 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 17 Jun 2022 14:47:04 +0000 (09:47 -0500)
nrotates might need another definition?

extra/sequences/extras/extras.factor

index b9443bca8d20b69c797079e2a3c6e190754d5a08..7e46b24445b6f379296d1ad651e67a8ed8438056 100644 (file)
@@ -704,7 +704,8 @@ PRIVATE>
 : find-pred-loop ( ... i n seq quot: ( ... elt -- ... calc ? ) -- ... calc/f i/f elt/f )
     2pick < [
         [ nipd call ] 4keep
-        3 7 nrotates
+        ! 3 7 nrotates ! stack checker does not like this
+        7 nrot 7 nrot 7 nrot
         [ [ 3drop ] 2dip rot ]
         [ 2drop [ 1 + ] 3dip find-pred-loop ] if
     ] [