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
Pattern matching allows you to turn (x y : A) -> A
into (@0 x y : A) -> A
#4986
Comments
Debug output from the unifier:
It seems that somehow the |
Please ignore my previous comment, I completely missed the point that |
The term I'm looking into keeping track of the Modality in AsBinding, it might solve the issue, because really I shouldn't be allowed to use |
That seems like a good thing to do. In the clause the variable |
With 8eeb1f6 Agda will complain that We can still define bar : (f : A → A → A) (g : @0 A → @0 A → A)
→ @0 _≡_ {A = @0 A → @0 A → A} g (\ x y → f y x)
→ @0 A → @0 A → A
bar f g refl = g I couldn't find a way to break erasure with |
I keep seeing your replies only after I post something :) Wherever we were producing an AsBinding we had a whole |
The text was updated successfully, but these errors were encountered: