]> gitweb.factorcode.org Git - factor.git/commitdiff
tools.crossref: adding stack effect.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 3 Sep 2011 23:39:04 +0000 (16:39 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 3 Sep 2011 23:39:04 +0000 (16:39 -0700)
basis/tools/crossref/crossref.factor

index 30ec4b2b65045bbfaa5d06616a1b4715020c3e05..fa45e97c518a01931cf427b45be42a406872f50d 100644 (file)
@@ -119,7 +119,7 @@ M: f smart-usage drop \ f smart-usage ;
     smart-usage
     [ "No usages." print ] [ sorted-definitions. ] if-empty ;
 
-: vocab-xref ( vocab quot -- vocabs )
+: vocab-xref ( vocab quot: ( defspec -- seq ) -- vocabs )
     [ [ vocab-name ] [ words [ generic? not ] filter ] bi ] dip map
     [
         [ [ word? ] [ generic? not ] bi and ] filter [