]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/vocabs/prettyprint/prettyprint.factor
Rename vocab to lookup-vocab
[factor.git] / basis / vocabs / prettyprint / prettyprint.factor
index 2cdec0d382eb35f66d5ba20b2f3f5fcca541d265..bca011227ff3547e0ccc1fa7cc02d6665a5cea4c 100644 (file)
@@ -8,7 +8,7 @@ FROM: io.styles => inset ;
 IN: vocabs.prettyprint
 
 : pprint-vocab ( vocab -- )
-    [ vocab-name ] [ vocab vocab-style ] bi styled-text ;
+    [ vocab-name ] [ lookup-vocab vocab-style ] bi styled-text ;
 
 : pprint-in ( vocab -- )
     [ \ IN: pprint-word pprint-vocab ] with-pprint ;
@@ -19,7 +19,7 @@ IN: vocabs.prettyprint
     [ vocab-name ] sort-with ;
 
 : pprint-using ( seq -- )
-    [ "syntax" vocab = not ] filter
+    [ "syntax" lookup-vocab = not ] filter
     sort-vocabs [
         \ USING: pprint-word
         [ pprint-vocab ] each
@@ -96,4 +96,4 @@ PRIVATE>
         { inset { 5 5 } }
     } [ manifest get pprint-manifest ] with-nesting
     nl nl
-] print-use-hook set-global
\ No newline at end of file
+] print-use-hook set-global