| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
Numeric.Domain.Integral
Synopsis
- class (Domain d, Commutative d) => IntegralDomain d where
Documentation
class (Domain d, Commutative d) => IntegralDomain d where #
An integral domain is a commutative domain in which 1≠0.
Methods
divides :: d -> d -> Bool infix 7 #
divides :: Euclidean d => d -> d -> Bool infix 7 #
Instances
| IntegralDomain Integer # | |
| GCDDomain d => IntegralDomain (Fraction d) # | |