]> gitweb.factorcode.org Git - factor.git/commitdiff
sequences.extras: removing contains? (probably a bad name or a bad definition).
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 17 Jan 2015 18:27:39 +0000 (10:27 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 17 Jan 2015 18:27:39 +0000 (10:27 -0800)
extra/sequences/extras/extras.factor

index 9e119751358c4c645185bcd28e7788ad6f89e3e6..600c5cb58140ebe84fe465d7e496c912644666cf 100644 (file)
@@ -259,9 +259,6 @@ PRIVATE>
 : harvest! ( seq -- newseq )
     [ empty? not ] filter! ;
 
-: contains? ( seq elts -- ? )
-    [ member? ] curry any? ; inline
-
 : head-as ( seq n exemplar -- seq' )
     [ head-slice ] [ like ] bi* ; inline