We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The formatter (v0.5.1-dev) changes as-patterns as in the following example.
a : {A : Type} → A × Nat → Nat - | {A'@_} p@(x, s@zero) := snd p + 1 + | A'@{_} p@(x, s@zero) := snd p + 1 | p@(x, s@_) := snd p + 1;
While the change breaks the code atm, I think this is fine, i.e., an implicit pattern expression can be named in the following way.
f : {x : _} -> ...:= | y@{_} := ...;
One may need to name inner patterns as well, so the following should be also permitted.
f : {x : Ind} -> ...:= | ... | y@{cons1 x1 z@(cons x2 xs)} := ...;
The text was updated successfully, but these errors were encountered:
The change done by the formatter in v0.5.1 was a bug, recently fixed by #2486. We are not interested in changing its syntax in the short term.
Sorry, something went wrong.
No branches or pull requests
The formatter (v0.5.1-dev) changes as-patterns as in the following example.
While the change breaks the code atm, I think this is fine, i.e.,
an implicit pattern expression can be named in the following way.
One may need to name inner patterns as well, so the following should be also
permitted.
The text was updated successfully, but these errors were encountered: