You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classZero (α : Type u) where
zero : α
classAddZeroClass (M : Type u) extends Zero M, Add M
classAddMonoid (M : Type u) extends AddZeroClass M where
nsmul : Nat → M → M := fun _ _ => Zero.zero
classAddCommMonoid (M : Type u) extends Zero M, AddMonoid M
classAddMonoidWithOne (R : Type u) extends AddMonoid R
classAddCommMonoidWithOne (R : Type u) extends AddMonoidWithOne R, AddCommMonoid R
classNonAssocSemiring (α : Type u) extends Zero α, AddCommMonoidWithOne α
classSemiring (α : Type u) extends Zero α, NonAssocSemiring α
-- ignoring default value for field 'nsmul'
The last class declaration unexpectedly produces the above warning, with no apparent way to fix it. Declaring the default value again in Semiring does not help either.
The text was updated successfully, but these errors were encountered:
The last class declaration unexpectedly produces the above warning, with no apparent way to fix it. Declaring the default value again in
Semiring
does not help either.The text was updated successfully, but these errors were encountered: