]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/git/git.factor
sequences: move last2 to the sequences vocab
[factor.git] / extra / git / git.factor
index d594c760a27ed7e18b245b94578cb728e4b8f198..6a01069d55c80d2cb65d046e0419482c1a1649b1 100644 (file)
@@ -121,8 +121,6 @@ CONSTRUCTOR: <commit> commit ( tree parents author committer -- obj ) ;
 TUPLE: tree hash tree parents author committer gpgsig message ;
 CONSTRUCTOR: <tree> tree ( -- obj ) ;
 
-: last2 ( seq -- penultimate ultimate ) 2 tail* first2 ;
-
 : gmt-offset>duration ( string -- duration )
     3 cut [ string>number ] bi@
     [ hours ] [ minutes ] bi* time+ ;