Closed
Description
Every other property in the algebraic (not to mention in Relation.Binary
etc.) structures are simply named assoc
/comm
etc. unless the structure contains two operators in which case they are prepended with the operator name(s).
The exception to this rule is the congruence proof which is incongruously named ∙-cong
.
agda-stdlib/src/Algebra/Structures.agda
Line 36 in b09525c
We should have a discussion about whether we should rename this to simply cong
in version 2.0.
As I see it:
Pros
- More consistent
- Easier to type (frequently get confused about whether it's
\.
\cdot
or\bub
in certain fonts)
Cons
- May clash with
cong
fromRelation.Binary.PropositionalEquality
a lot.