]> gitweb.factorcode.org Git - factor.git/commitdiff
sequences: remove unused 2reverse-each word
authorSlava Pestov <slava@factorcode.org>
Mon, 10 May 2010 04:45:31 +0000 (00:45 -0400)
committerSlava Pestov <slava@factorcode.org>
Mon, 10 May 2010 04:46:29 +0000 (00:46 -0400)
core/sequences/sequences-docs.factor
core/sequences/sequences.factor

index e6c656f2da2dde6670798fbd0abc1e46d446c448..55938f5888ab10c20032c977a42dafab20071d1b 100644 (file)
@@ -1200,15 +1200,6 @@ HELP: 2selector
      { "selector" quotation } { "accum1" vector } { "accum2" vector } }
 { $description "Creates two new vectors to accumultate values based on a predicate. The first vector accumulates values for which the predicate yields true; the second for false." } ;
 
-HELP: 2reverse-each
-{ $values
-     { "seq1" sequence } { "seq2" sequence } { "quot" quotation } }
-{ $description "Reverse the sequences using the " { $link <reversed> } " word and calls " { $link 2each } " on the reversed sequences." }
-{ $examples { $example "USING: sequences math prettyprint ;"
-    "{ 10 20 30 } { 1 2 3 } [ + . ] 2reverse-each"
-    "33\n22\n11"
-} } ;
-
 HELP: 2unclip-slice
 { $values
      { "seq1" sequence } { "seq2" sequence }
index 2155f1439fd009fb20d501fdc90b6b23216d5e5b..55398ff02bedc45b6a02d5ab0b0d015295a8a954 100644 (file)
@@ -444,9 +444,6 @@ PRIVATE>
 : 2each ( ... seq1 seq2 quot: ( ... elt1 elt2 -- ... ) -- ... )
     (2each) each-integer ; inline
 
-: 2reverse-each ( ... seq1 seq2 quot: ( ... elt1 elt2 -- ... ) -- ... )
-    [ [ <reversed> ] bi@ ] dip 2each ; inline
-
 : 2reduce ( ... seq1 seq2 identity quot: ( ... prev elt1 elt2 -- ... next ) -- ... result )
     [ -rot ] dip 2each ; inline