diff --git a/library/help/help.factor b/library/help/help.factor index 0ddaa73eea..4484e6e75b 100644 --- a/library/help/help.factor +++ b/library/help/help.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. IN: help USING: arrays io kernel namespaces parser prettyprint sequences -words modules ; +words ; M: word article-title dup parsing? [ @@ -65,6 +65,3 @@ M: word article-content : $outliner ( element -- ) [ first call help-outliner ] ($block) ; - -: modules-help ( -- seq ) - modules get [ second module-help ] map [ ] subset ; diff --git a/library/modules.factor b/library/modules.factor index bc96f84988..ac6507eb54 100644 --- a/library/modules.factor +++ b/library/modules.factor @@ -89,3 +89,6 @@ C: module ( name files tests help -- module ) "To define one, see the documentation for the " write \ MAIN: ($link) " word." print ] ?if ; + +: modules-help ( -- seq ) + modules get [ second module-help ] map [ ] subset ;