agda / cubical

An experimental library for Cubical Agda
https://agda.github.io/cubical/Cubical.README.html
Other
452 stars 138 forks source link

Avoid unnecessary `syntax` declarations #1038

Closed MatthiasHu closed 1 year ago

MatthiasHu commented 1 year ago

This PR replaces syntax declarations which

by ordinary infix (or mixfix) operator declarations.

The motivation for avoiding syntax declarations is that Agdas behavior around them can be confusing, for example:

MatthiasHu commented 1 year ago

Are there any advantages of syntax declarations that I might be missing? (Let me ping @mzeuner just because you wrote the ones for ∘a and ∘r :-) )

felixwellen commented 1 year ago

For the slim chance that there is such an advantage, we can still revert -> merging.