| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
Numeric.Decidable.Nilpotent
- class (Monoidal r, Multiplicative r) => DecidableNilpotent r where
Documentation
class (Monoidal r, Multiplicative r) => DecidableNilpotent r where #
An element x is nilpotent if there exists n s.t. pow1p x n is zero.
Minimal complete definition
Methods
isNilpotent :: r -> Bool #
Instances
| DecidableNilpotent Bool # | |
| DecidableNilpotent Int # | |
| DecidableNilpotent Int8 # | |
| DecidableNilpotent Int16 # | |
| DecidableNilpotent Int32 # | |
| DecidableNilpotent Int64 # | |
| DecidableNilpotent Integer # | |
| DecidableNilpotent Natural # | |
| DecidableNilpotent Word8 # | |
| DecidableNilpotent Word16 # | |
| DecidableNilpotent Word32 # | |
| DecidableNilpotent Word64 # | |
| DecidableNilpotent () # | |
| (DecidableNilpotent a, DecidableNilpotent b) => DecidableNilpotent (a, b) # | |
| (DecidableNilpotent a, DecidableNilpotent b, DecidableNilpotent c) => DecidableNilpotent (a, b, c) # | |
| (DecidableNilpotent a, DecidableNilpotent b, DecidableNilpotent c, DecidableNilpotent d) => DecidableNilpotent (a, b, c, d) # | |
| (DecidableNilpotent a, DecidableNilpotent b, DecidableNilpotent c, DecidableNilpotent d, DecidableNilpotent e) => DecidableNilpotent (a, b, c, d, e) # | |