You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already use infixr for + in AbGroup. And we use infixl for a whole lot of operations in algebraic structures. I haven't thought about which one might be better...
And I can't see a reason why we shouldn't use this for categories.
Considering we have associativity, I don't think it matters too much whether we choose infixl or infixr. I just copied the infixr 9 _∘_ declaration from Cubical.Foundations.Function. Right associativity seems to be conventional.
So that we can write
and Agda will know how to parse it.
It's as easy as putting
at the end of the definition of
Category
.We could also think about doing this for other associative algebraic structures (semigroups, groups, rings, ...)
The text was updated successfully, but these errors were encountered: