@@ -14,7 +14,7 @@ module Prelude
1414 , Bind, (>>=)
1515 , Monad, return, liftM1, ap
1616 , Semiring, (+), zero, (*), one
17− , ModuloSemiRing, (/), mod
17+ , ModuloSemiring, (/), mod
1818 , Ring, (-)
1919 , (%)
2020 , negate
@@ -219,7 +219,7 @@ module Prelude
219219
220220 -- | Semiring with modulo operation and division where
221221 -- | ```a / b * b + (a `mod` b) = a```
222− class (Semiring a) <= ModuloSemiRing a where
222+ class (Semiring a) <= ModuloSemiring a where
223223 (/) :: a -> a -> a
224224 mod :: a -> a -> a
225225
@@ -232,7 +232,7 @@ module Prelude
232232
233233 -- | Ring where every nonzero element has a multiplicative inverse (possibly
234234 -- | a non-commutative field) so that ```a `mod` b = zero```
235− class (Ring a, ModuloSemiRing a) <= DivisionRing a
235+ class (Ring a, ModuloSemiring a) <= DivisionRing a
236236
237237 -- | A commutative field
238238 class (DivisionRing a) <= Num a
@@ -293,7 +293,7 @@ module Prelude
293293 instance ringNumber :: Ring Number where
294294 (-) = numSub
295295
296− instance moduloSemiRingNumber :: ModuloSemiRing Number where
296+ instance moduloSemiringNumber :: ModuloSemiring Number where
297297 (/) = numDiv
298298 mod _ _ = 0
299299