Copyright | (c) Erich Gut |
---|---|
License | BSD3 |
Maintainer | zerich.gut@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
definition of Ring
s.
Synopsis
- type Semiring r = (Distributive r, Total r)
- rOne :: Semiring r => r
- rZero :: Semiring r => r
- isMinusOne :: Semiring r => r -> Bool
- type Ring r = (Semiring r, Abelian r)
- type Galoisian r = (Ring r, Commutative r, Invertible r)
- class Galoisian r => Field r where
- (/) :: r -> r -> r
Semiring
type Semiring r = (Distributive r, Total r) Source #
Ring
Galoisian
type Galoisian r = (Ring r, Commutative r, Invertible r) Source #