Skip to content

Conversation

@jodavies
Copy link
Collaborator

@jodavies jodavies commented Oct 16, 2025

Providing "?a" as an argument means that it is removed from the prevar list after the macro is used, which removes a genuine ?a prevar which comes from a procedure argument for example. Since the argument is not required at all, just remove it.

Also add tests of the builtin macros.

The "new" builtin macros were also missing from the manual.

Closes #631

Providing "?a" as an argument means that it is removed from the
prevar list after the macro is used, which removes a genuine
?a prevar which comes from a procedure argument for example.
Since the argument is not required at all, just remove it.

Also add tests of the builtin macros.
Manual entries for keepleft_, keepright_, takeleft_, takeright_.
@coveralls
Copy link

Coverage Status

coverage: 56.832% (+0.05%) from 56.779%
when pulling a88b28b on jodavies:issue-631
into 2aba64b on form-dev:master.

@jodavies jodavies merged commit d895b77 into form-dev:master Oct 21, 2025
84 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Builtin macros destroy ?a

2 participants