Skip to content

Adding pattern to the builtin #rewrite #1240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
NotBad4U opened this issue Apr 18, 2025 · 0 comments · Fixed by #1245
Closed

Adding pattern to the builtin #rewrite #1240

NotBad4U opened this issue Apr 18, 2025 · 0 comments · Fixed by #1245

Comments

@NotBad4U
Copy link
Member

Currently, the built-in rewrite is defined as follows:

builtin "rewrite" ≔ …; // : Π [a], Prf a → T

Making it impossible to pass an optional rewrite pattern like the original rewrite tactic.
Since the built-in type string has been introduced, could we add the pattern as a string parameter?

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 a pull request may close this issue.

1 participant