diff --git a/basis/macros/macros-docs.factor b/basis/macros/macros-docs.factor index 133509687f..91aa2fa3e5 100644 --- a/basis/macros/macros-docs.factor +++ b/basis/macros/macros-docs.factor @@ -16,9 +16,9 @@ HELP: MACRO: { $examples "A macro that calls a quotation but preserves any values it consumes off the stack:" { $code - "USING: fry generalizations ;" + "USING: fry generalizations kernel macros stack-checker ;" "MACRO: preserving ( quot -- )" - " [ infer in>> length ] keep '[ _ ndup @ ] ;" + " [ inputs ] keep '[ _ ndup @ ] ;" } "Using this macro, we can define a variant of " { $link if } " which takes a predicate quotation instead of a boolean; any values consumed by the predicate quotation are restored immediately after:" { $code