The integers form a group #
This file contains the additive group and multiplicative monoid instances on the integers.
See note [foundational algebra order theory].
Instances #
Equations
Equations
Extra instances to short-circuit type class resolution #
These also prevent non-computable instances like Int.normedCommRing
being used to construct
these instances non-computably.
Equations
- Int.instAddCommSemigroup = inferInstance