]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/farkup/farkup.factor
Resolved merge.
[factor.git] / basis / farkup / farkup.factor
index a008b1d04937be2d982234c23baef92ca2ac1e25..4acd1eeab81dcc3d2cc373b9d20b7189bbb405a0 100644 (file)
@@ -149,15 +149,15 @@ DEFER: (parse-paragraph)
 
 : trim-row ( seq -- seq' )
     rest
-    dup peek empty? [ but-last ] when ;
+    dup last empty? [ but-last ] when ;
 
-: ?peek ( seq -- elt/f )
-    [ f ] [ peek ] if-empty ;
+: ?last ( seq -- elt/f )
+    [ f ] [ last ] if-empty ;
 
 : coalesce ( rows -- rows' )
     V{ } clone [
         '[
-            _ dup ?peek ?peek CHAR: \\ =
+            _ dup ?last ?last CHAR: \\ =
             [ [ pop "|" rot 3append ] keep ] when
             push 
         ] each