From 75062f1138df2798e5081c5313699176506cf2f8 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 17 Aug 2021 03:16:08 -0400 Subject: [PATCH] Sync --- docs/api/scheme/eval.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/api/scheme/eval.md b/docs/api/scheme/eval.md index 907be52f..0e786148 100644 --- a/docs/api/scheme/eval.md +++ b/docs/api/scheme/eval.md @@ -12,6 +12,7 @@ For more information see the [R7RS Scheme Specification](../../r7rs.p - [`eval`](#eval) - [`create-environment`](#create-environment) - [`setup-environment`](#setup-environment) +- [`expand`](#expand) # eval @@ -35,3 +36,9 @@ A non-standard function to create a new environment on top of the default one. (setup-environment) A non-standard function to initialize a new global environment. + +# expand + + (expand expr environment rename-environment) + +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.