HasZero is needed for sparse matrices, to tell which is the element
that does not have to be stored.
It is a cut-down version of SemiRing which is definable
without the implicit ?cutoff.
Methods
zeroElement :: a
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11
ModuleAgda-2.8.0.2Haskell2010
Semirings.
HasZero is needed for sparse matrices, to tell which is the element
that does not have to be stored.
It is a cut-down version of SemiRing which is definable
without the implicit ?cutoff.
zeroElement :: aThe standard semiring on Bools.