]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/splitting/monotonic/monotonic.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / basis / splitting / monotonic / monotonic.factor
index 3dec6130de5a3e83b747cbeeff0a078e10d52294..3641345a3ebd2bd9179e1224d9e8df1dbf69d146 100644 (file)
@@ -29,10 +29,10 @@ PRIVATE>
             [ length ] [ ] [ <circular> 1 over change-circular-start ] tri
             [ @ not [ , ] [ drop ] if ] 3each
         ] { } make
-        dup empty? [ over length 1- prefix ] when -1 prefix 2 clump
+        dup empty? [ over length 1 - prefix ] when -1 prefix 2 clump
         swap
     ] dip
-    '[ first2 [ 1+ ] bi@ _ _ boa ] map ; inline
+    '[ first2 [ 1 + ] bi@ _ _ boa ] map ; inline
 
 PRIVATE>