]> gitweb.factorcode.org Git - factor.git/commitdiff
sequences: remove-of? words aren't as good as i had hoped
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 31 Jul 2022 15:45:14 +0000 (10:45 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 31 Jul 2022 18:26:02 +0000 (13:26 -0500)
core/sequences/sequences.factor

index 7ff0947f28ec515ff87ff7ae4fcbd61eee09a3a4..d9825b8b992e00598b1826a86c9837f062bd9f97 100644 (file)
@@ -699,27 +699,15 @@ PRIVATE>
 : member? ( elt seq -- ? )
     [ = ] with any? ;
 
-: member-of? ( seq elt -- ? )
-    [ = ] curry any? ;
-
 : member-eq? ( elt seq -- ? )
     [ eq? ] with any? ;
 
-: member-eq-of? ( seq elt -- ? )
-    [ eq? ] curry any? ;
-
 : remove ( elt seq -- newseq )
     [ = ] with reject ;
 
-: remove-of ( seq elt -- newseq )
-    [ = ] curry reject ;
-
 : remove-eq ( elt seq -- newseq )
     [ eq? ] with reject ;
 
-: remove-eq-of ( seq elt -- newseq )
-    [ eq? ] curry reject ;
-
 : sift ( seq -- newseq )
     [ ] filter ;