]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/lint/lint.factor
core: subseq-index? -> subseq-of?
[factor.git] / extra / lint / lint.factor
index 42639ce89395437d6c8bd1cdf02962debeddb017..84491a5ae4d8443fa0f6ed1f9c573a8d489ae658 100644 (file)
@@ -1,10 +1,11 @@
 ! Copyright (C) 2007, 2008, 2011 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs classes classes.tuple.private
-combinators.short-circuit continuations io kernel kernel.private
-locals.backend make math math.private namespaces prettyprint
-quotations sequences sequences.deep shuffle slots.private
-splitting stack-checker vocabs words words.alias ;
+USING: accessors arrays assocs assocs.extras classes
+classes.tuple.private combinators.short-circuit continuations io
+kernel kernel.private locals.backend make math math.private
+namespaces prettyprint quotations sequences sequences.deep
+shuffle slots.private splitting stack-checker vocabs words
+words.alias ;
 IN: lint
 
 <PRIVATE
@@ -249,7 +250,7 @@ GENERIC: lint ( obj -- seq )
 M: object lint ( obj -- seq ) drop f ;
 
 M: callable lint ( quot -- seq )
-    lint-definitions-keys get-global [ subseq-index? ] with filter ;
+    lint-definitions-keys get-global [ subseq-of? ] with filter ;
 
 M: word lint ( word -- seq/f )
     def>> [ callable? ] deep-filter [ lint ] map concat ;