From 82e5ffa893b4ebd2c1c286963810e22dbae7082c Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Thu, 27 Aug 2009 16:10:00 -0500 Subject: [PATCH] fix typo in gensym reported by mnestic --- core/words/words-docs.factor | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/words/words-docs.factor b/core/words/words-docs.factor index b756c0b681..c670939c48 100644 --- a/core/words/words-docs.factor +++ b/core/words/words-docs.factor @@ -219,7 +219,11 @@ HELP: ( name vocab -- word ) HELP: gensym { $values { "word" word } } { $description "Creates an uninterned word that is not equal to any other word in the system." } -{ $examples { $unchecked-example "gensym ." "G:260561" } } +{ $examples { $example "USING: prettyprint words ;" + "gensym ." + "( gensym )" + } +} { $notes "Gensyms are often used as placeholder values that have no meaning of their own but must be unique. For example, the compiler uses gensyms to label sections of code." } ; HELP: bootstrapping?