Commit 2023-01-16 20:07 9b5ec8ff
View on Github →feat: add HomClass.toHom
coercions to Algebra.Order.Hom.Monoid (#1603)
To create good coercion behaviour for the Homs and fix some broken norm_cast
s in #1482, added OrderMonoidHomClass.toOrderMonoidHom
and OrderMonoidWithZeroHomClass.toOrderMonoidWithZeroHom
to Algebra.Order.Hom.Monoid
. This is consistent with how we have been treating coercions of Homs in other files recently, such as Algebra.Hom.GroupAction.
Also golfed some ext; rfl
s in that file to rfl
s since that now works.