Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class SemiRing a where Source #
Semirings (https://en.wikipedia.org/wiki/Semiring).
Instances
SemiRing () Source # | |
SemiRing Occurrence Source # |
It forms a commutative semiring where For |
Defined in Agda.TypeChecking.Positivity.Occurrence ozero :: Occurrence Source # oone :: Occurrence Source # oplus :: Occurrence -> Occurrence -> Occurrence Source # otimes :: Occurrence -> Occurrence -> Occurrence Source # | |
SemiRing Weight Source # | |
SemiRing Edge Source # | These operations form a semiring if we quotient by the relation
"the |
SemiRing a => SemiRing (Maybe a) Source # | |
class SemiRing a => StarSemiRing a where Source #
Star semirings (https://en.wikipedia.org/wiki/Semiring#Star_semirings).
Instances
StarSemiRing () Source # | |
Defined in Agda.Utils.SemiRing | |
StarSemiRing Occurrence Source # | |
Defined in Agda.TypeChecking.Positivity.Occurrence ostar :: Occurrence -> Occurrence Source # | |
StarSemiRing Edge Source # | As E.g. |
StarSemiRing a => StarSemiRing (Maybe a) Source # | |