Skip to content

Commit 0305d6b

Browse files
authored
fix: add correct fixities (#2584)
1 parent 4925719 commit 0305d6b

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Bug-fixes
1313
to `#-sym` in order to avoid overloaded projection.
1414
`irrefl` and `cotrans` are similarly renamed for the sake of consistency.
1515

16+
* In `Algebra.Definitions.RawMagma` and `Relation.Binary.Construct.Interior.Symmetric`,
17+
the record constructors `_,_` incorrectly had no declared fixity. They have been given
18+
the fixity `infixr 4 _,_`, consistent with that of `Data.Product.Base`.
19+
1620
Non-backwards compatible changes
1721
--------------------------------
1822

src/Algebra/Definitions/RawMagma.agda

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ open RawMagma M renaming (Carrier to A)
2525
------------------------------------------------------------------------
2626
-- Divisibility
2727

28+
infixr 4 _,_
2829
infix 5 _∣ˡ_ _∤ˡ_ _∣ʳ_ _∤ʳ_ _∣_ _∤_ _∥_ _∦_
2930

3031
-- Divisibility from the left.

src/Relation/Binary/Construct/Interior/Symmetric.agda

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ private
2424
------------------------------------------------------------------------
2525
-- Definition
2626

27+
infixr 4 _,_
28+
2729
record SymInterior (R : Rel A ℓ) (x y : A) : Setwhere
2830
constructor _,_
2931
field

0 commit comments

Comments
 (0)