]> gitweb.factorcode.org Git - factor.git/commitdiff
syntax: mark QUALIFIED: as deprecated
authorrazetime <raghuallthetime@hotmail.com>
Sat, 21 Jan 2023 10:01:05 +0000 (15:31 +0530)
committerrazetime <raghuallthetime@hotmail.com>
Sat, 21 Jan 2023 10:01:42 +0000 (15:31 +0530)
core/syntax/syntax-docs.factor

index 3128f4cc0db0086f59a8b4363f67741f52e3c1b4..cd5b9f44c04e9395e815de024bd15d7cb06a0efa 100644 (file)
@@ -625,6 +625,8 @@ HELP: USING:
 HELP: QUALIFIED:
 { $syntax "QUALIFIED: vocab" }
 { $description "Adds the vocabulary's words, prefixed with the vocabulary name, to the search path." }
+{ $deprecated "This word is deprecated since Factor words can now be used as qualified by default. "
+{ $link POSTPONE: QUALIFIED-WITH: } " can be used for changing the qualification prefix." }
 { $notes "If adding a vocabulary introduces ambiguity, the vocabulary will take precedence when resolving any ambiguous names. This is a rare case; for example, suppose a vocabulary " { $snippet "fish" } " defines a word named " { $snippet "go:fishing" } ", and a vocabulary named " { $snippet "go" } " defines a word named " { $snippet "fishing" } ". Then, the following will call the latter word:"
   { $code
   "USE: fish"