From 2816dd552e888f5b3bd1454adef0f1ff54f54fd6 Mon Sep 17 00:00:00 2001 From: slava Date: Sat, 21 Oct 2006 06:57:41 +0000 Subject: [PATCH] Fix bad load ordering --- library/help/help.factor | 5 +---- library/modules.factor | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) 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 ;