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
This plays into typelevel/algebra#218. In the Cats ecosystem all numeric types (Int, Long, BigInt, BigDecimal, etc.) come with a default Group that does addition.
This is pretty useful as most of the time addition is what you want e.g. when using foldMap or combineAll and it's a bit of a shame we can't reuse existing code relying on these functions to "just work" with the spire numeric types.
The text was updated successfully, but these errors were encountered:
This plays into typelevel/algebra#218. In the Cats ecosystem all numeric types (
Int
,Long
,BigInt
,BigDecimal
, etc.) come with a default Group that does addition.This is pretty useful as most of the time addition is what you want e.g. when using
foldMap
orcombineAll
and it's a bit of a shame we can't reuse existing code relying on these functions to "just work" with the spire numeric types.The text was updated successfully, but these errors were encountered: