From f7695ba6f8395ee6791c737cc4e59dc5760c559e Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Wed, 25 Aug 2021 17:50:03 -0400 Subject: [PATCH] Sync --- docs/api/scheme/eval.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/api/scheme/eval.md b/docs/api/scheme/eval.md index 0e786148..fa098f7f 100644 --- a/docs/api/scheme/eval.md +++ b/docs/api/scheme/eval.md @@ -39,6 +39,11 @@ A non-standard function to initialize a new global environment. # expand - (expand expr environment rename-environment) + (expand expr [[environment] [rename-environment]]) + +Perform macro expansion on `expr` and return the resulting expression. + +`environment` may be optionally passed as the current environment. + +`rename-environment` is an optional argument of an environment containing variables renamed directly by macros. This would generally be an empty environment when using this function for macro debugging. -Perform macro expansion on `expr` and `environment` is the current environment. `rename-environment` is an environment containing variables renamed directly by macros; this would generally be an empty environment when using this function for macro debugging.