]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/base64/base64.factor
mason: move alignment to mason.css, right align but-last columns in table body
[factor.git] / basis / base64 / base64.factor
index 5ec3d0a5f3720c7388a189d6af7b66e4b7deae60..abd7023bb3935842145c1ea1001d12bede25758a 100644 (file)
@@ -17,7 +17,7 @@ CONSTANT: alphabet $[
 ]
 
 : alphabet-inverse ( alphabet -- seq )
-    dup supremum 1 + f <array> [
+    dup maximum 1 + f <array> [
         '[ swap _ set-nth ] each-index
     ] keep ;
 >>
@@ -82,7 +82,7 @@ PRIVATE>
 
 : read-ignoring ( n ignoring stream -- accum )
     pick <sbuf> [
-        '[ _ _ read1-ignoring [ ] _ push-if ] times
+        '[ _ _ read1-ignoring [ ] _ push-when ] times
     ] keep ;
 
 : decode4 ( a b c d -- x y z )