Skip to content

Commit

Permalink
agda/agda#7674 eta-expand fields in record expression
Browse files Browse the repository at this point in the history
Agda PR #7674 requires some implicit arguments explicitly in some record
expression given since variance info got refined (invariant to
non-variant) and hence solutions are no longer unique.
  • Loading branch information
andreasabel committed Jan 13, 2025
1 parent 2affb9c commit 2ffb002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Algebra/Construct/Initial.agda
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ rawMagma = record { ℤero }
-- Structures

isEquivalence : IsEquivalence _≈_
isEquivalence = record { ℤero }
isEquivalence = record { refl = refl; sym = sym; trans = λ {k = k} trans {k = k} }

isMagma : IsMagma _≈_ _∙_
isMagma = record { isEquivalence = isEquivalence ; ∙-cong = ∙-cong }
isMagma = record { isEquivalence = isEquivalence ; ∙-cong = λ {y = y} {v = v} ∙-cong {y = y} {v = v} }

isSemigroup : IsSemigroup _≈_ _∙_
isSemigroup = record { isMagma = isMagma ; assoc = λ () }
Expand Down

0 comments on commit 2ffb002

Please sign in to comment.