On 30-07-2022 17:42, Zelphir Kaltstahl wrote:

Does this mean, that recursive application of a macro inside a macro is impossible? To expand to subforms being the same macro again and this way transform a whole tree of s-expressions?

You can have recursive macros, see e.g. the let^ macro at <https://git.gnunet.org/gnunet-scheme.git/tree/gnu/gnunet/utils/hat-let.scm>.

However, I do not see a way to implement recursivity the same way for your macro.

Greetings,
Maxime.

Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to