From eb0bedd9b03ae2ea0b8057d84eb03ae932ca239f Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Wed, 11 Mar 2009 08:34:25 -0500 Subject: [PATCH] Fixing up code after 'see' refactoring --- basis/see/see-docs.factor | 6 ++++-- basis/see/summary.txt | 1 + core/definitions/definitions-docs.factor | 2 +- extra/fuel/help/help.factor | 2 +- extra/multi-methods/multi-methods.factor | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 basis/see/summary.txt diff --git a/basis/see/see-docs.factor b/basis/see/see-docs.factor index ba26e38106..755d4ac9bc 100644 --- a/basis/see/see-docs.factor +++ b/basis/see/see-docs.factor @@ -47,7 +47,9 @@ HELP: definition ARTICLE: "see" "Printing definitions" "The " { $vocab-link "see" } " vocabulary implements support for printing out " { $link "definitions" } " in the image." $nl -"Printing a definition (see " { $link "definitions" } "):" +"Printing a definition:" { $subsection see } "Printing the methods defined on a generic word or class (see " { $link "objects" } "):" -{ $subsection see-methods } ; \ No newline at end of file +{ $subsection see-methods } ; + +ABOUT: "see" \ No newline at end of file diff --git a/basis/see/summary.txt b/basis/see/summary.txt new file mode 100644 index 0000000000..a6274bcfe2 --- /dev/null +++ b/basis/see/summary.txt @@ -0,0 +1 @@ +Printing loaded definitions as source code diff --git a/core/definitions/definitions-docs.factor b/core/definitions/definitions-docs.factor index 21537906da..80da7daa31 100644 --- a/core/definitions/definitions-docs.factor +++ b/core/definitions/definitions-docs.factor @@ -56,7 +56,7 @@ $nl { $subsection redefine-error } ; ARTICLE: "definitions" "Definitions" -"A " { $emphasis "definition" } " is an artifact read from a source file. This includes words, methods, and help articles. Words for working with definitions are found in the " { $vocab-link "definitions" } " vocabulary. Implementations of the definition protocol include pathnames, words, methods, and help articles." +"A " { $emphasis "definition" } " is an artifact read from a source file. This includes words, methods, help articles, and path names (which represent the source file at that location). Words for working with definitions are found in the " { $vocab-link "definitions" } " vocabulary." { $subsection "definition-protocol" } { $subsection "definition-crossref" } { $subsection "definition-checking" } diff --git a/extra/fuel/help/help.factor b/extra/fuel/help/help.factor index 6196b356ba..6368e542a7 100644 --- a/extra/fuel/help/help.factor +++ b/extra/fuel/help/help.factor @@ -4,7 +4,7 @@ USING: accessors arrays assocs combinators help help.crossref help.markup help.topics io io.streams.string kernel make namespaces parser prettyprint sequences summary tools.vocabs tools.vocabs.browser -vocabs vocabs.loader words ; +vocabs vocabs.loader words see ; IN: fuel.help diff --git a/extra/multi-methods/multi-methods.factor b/extra/multi-methods/multi-methods.factor index 3370ab7f86..7c5d5fb431 100755 --- a/extra/multi-methods/multi-methods.factor +++ b/extra/multi-methods/multi-methods.factor @@ -5,7 +5,7 @@ combinators arrays words assocs parser namespaces make definitions prettyprint prettyprint.backend prettyprint.custom quotations generalizations debugger io compiler.units kernel.private effects accessors hashtables sorting shuffle -math.order sets ; +math.order sets see ; IN: multi-methods ! PART I: Converting hook specializers