From b4acfa376a450d24ed49065d65f1dc50ef07f28b Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sat, 23 Mar 2013 16:34:33 -0700 Subject: [PATCH] definitions: Separate definition definitions. --- basis/help/tips/tips.factor | 2 +- basis/help/topics/topics.factor | 4 ++-- core/definitions/definitions.factor | 2 +- core/vocabs/vocabs.factor | 2 +- core/words/words.factor | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/basis/help/tips/tips.factor b/basis/help/tips/tips.factor index 241e54d967..d07d67d570 100644 --- a/basis/help/tips/tips.factor +++ b/basis/help/tips/tips.factor @@ -58,4 +58,4 @@ H{ : $tips-of-the-day ( element -- ) drop tips get [ nl nl ] [ content>> print-element ] interleave ; -INSTANCE: tip definition +INSTANCE: tip definition-mixin diff --git a/basis/help/topics/topics.factor b/basis/help/topics/topics.factor index fafbf14274..322b92eee3 100644 --- a/basis/help/topics/topics.factor +++ b/basis/help/topics/topics.factor @@ -7,7 +7,7 @@ IN: help.topics TUPLE: link name ; -INSTANCE: link definition +INSTANCE: link definition-mixin MIXIN: topic @@ -81,4 +81,4 @@ M: f valid-article? drop t ; M: f article-title drop \ f article-title ; M: f article-content drop \ f article-content ; M: f article-parent drop \ f article-parent ; -M: f set-article-parent drop \ f set-article-parent ; \ No newline at end of file +M: f set-article-parent drop \ f set-article-parent ; diff --git a/core/definitions/definitions.factor b/core/definitions/definitions.factor index f76dcf590a..95c452d55b 100644 --- a/core/definitions/definitions.factor +++ b/core/definitions/definitions.factor @@ -3,7 +3,7 @@ USING: accessors assocs kernel namespaces sequences sets ; IN: definitions -MIXIN: definition +MIXIN: definition-mixin ERROR: no-compilation-unit definition ; diff --git a/core/vocabs/vocabs.factor b/core/vocabs/vocabs.factor index e197dff510..72f1791858 100644 --- a/core/vocabs/vocabs.factor +++ b/core/vocabs/vocabs.factor @@ -135,7 +135,7 @@ SYMBOL: require-hook PREDICATE: runnable-vocab < vocab vocab-main >boolean ; -INSTANCE: vocab-spec definition +INSTANCE: vocab-spec definition-mixin : call-require-hook ( name -- ) require-hook get call( name -- ) ; diff --git a/core/words/words.factor b/core/words/words.factor index 398e428863..ac0b729f06 100644 --- a/core/words/words.factor +++ b/core/words/words.factor @@ -256,4 +256,4 @@ M: word hashcode* M: word literalize ; -INSTANCE: word definition +INSTANCE: word definition-mixin -- 2.34.1