Skip to content
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

User-defined rewrite rules #50

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Remove "..." in pattern syntax
  • Loading branch information
TheoWinterhalter committed Nov 26, 2020

Verified

This commit was signed with the committer’s verified signature.
commit 56fea7aabd6f708efefbafdf295f36302bc333e5
2 changes: 1 addition & 1 deletion text/xxx-rewrite-rules.md
Original file line number Diff line number Diff line change
@@ -52,9 +52,9 @@ Patterns obey the following syntax:
```
p ::= ?x y₁ ... yₙ pattern variable (applied to all bound variables)
| C p₁ ... pₙ constructor applied to patterns
| I p₁ ... pₙ type-constructor applied to patterns
| λ x : p₁, p₂ λ-abstraction over patterns
| ∀ x : p₁, p₂ Π-type of patterns
| ...
```

A lhs must depend on all the pattern variables in scope while the rhs can depend