Safe Haskell | None |
---|---|
Language | Haskell2010 |
Provides typeclass for euclidean division.
Since: 0.1
Synopsis
- class MGroup g => MEuclidean g where
- mdivMod :: g -> g -> (g, g)
- mdiv :: MEuclidean g => g -> g -> g
- mmod :: MEuclidean g => g -> g -> g
- mgcd :: (AMonoid g, Eq g, MEuclidean g, Normed g) => g -> g -> g
- mlcm :: (AMonoid g, Eq g, MEuclidean g, Normed g) => g -> g -> g
Documentation
class MGroup g => MEuclidean g where Source #
MGroup
equipped with "euclidean" division.
Since: 0.1
Instances
MEuclidean Int16 Source # | Since: 0.1 |
MEuclidean Int32 Source # | Since: 0.1 |
MEuclidean Int64 Source # | Since: 0.1 |
MEuclidean Int8 Source # | Since: 0.1 |
MEuclidean Word16 Source # | Since: 0.1 |
MEuclidean Word32 Source # | Since: 0.1 |
MEuclidean Word64 Source # | Since: 0.1 |
MEuclidean Word8 Source # | Since: 0.1 |
MEuclidean Integer Source # | Since: 0.1 |
MEuclidean Natural Source # | Since: 0.1 |
MEuclidean Int Source # | Since: 0.1 |
MEuclidean Word Source # | Since: 0.1 |
mdiv :: MEuclidean g => g -> g -> g Source #
Since: 0.1
mmod :: MEuclidean g => g -> g -> g Source #
Since: 0.1