Skip to content

Commit

Permalink
Remove zero arguments for IsNonAssociativeRing
Browse files Browse the repository at this point in the history
Now that we've replaced the field `zero` with a definition, we
need to update the usages of `IsNonAssociativeRing`.
  • Loading branch information
lexvanderstoep committed Jun 16, 2024
1 parent 66b5974 commit 23b7da7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Algebra/Construct/DirectProduct.agda
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,6 @@ nonAssociativeRing R S = record
; *-identity = UnitalMagma.identity (unitalMagma R.*-unitalMagma S.*-unitalMagma)
; distrib = (λ x y z (R.distribˡ , S.distribˡ) <*> x <*> y <*> z)
, (λ x y z (R.distribʳ , S.distribʳ) <*> x <*> y <*> z)
; zero = uncurry (λ x y R.zeroˡ x , S.zeroˡ y)
, uncurry (λ x y R.zeroʳ x , S.zeroʳ y)
}

} where module R = NonAssociativeRing R; module S = NonAssociativeRing S
Expand Down

0 comments on commit 23b7da7

Please sign in to comment.