]> gitweb.factorcode.org Git - factor.git/commitdiff
memoize: correct documentation for MEMO: syntax
authorKeita Haga <keitahaga@mail.com>
Sun, 23 Jan 2011 19:00:17 +0000 (04:00 +0900)
committerKeita Haga <keitahaga@mail.com>
Sun, 23 Jan 2011 19:00:17 +0000 (04:00 +0900)
basis/memoize/memoize-docs.factor

index 58ba60af7c3fccfb8d2c544f6c340a9417dee851..2fc7f6c260d14940e2fb7bbfc12a32aba0c0a31b 100644 (file)
@@ -22,7 +22,7 @@ HELP: define-memoized
 { $description "Defines the given word at run time as one which memoizes its outputs given a particular input." } ;
 
 HELP: MEMO:
-{ $syntax "MEMO: word ( stack -- effect ) definition ;" }
+{ $syntax "MEMO: word ( stack -- effect ) definition... ;" }
 { $description "Defines the given word at parse time as one which memoizes its output given a particular input. The stack effect is mandatory." } ;
 
 { define-memoized POSTPONE: MEMO: } related-words