Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Agda.Utils.SemiRing
Documentation
Semirings (https://en.wikipedia.org/wiki/Semiring).
Instances
SemiRing Weight Source | |
SemiRing Occurrence Source |
It forms a commutative semiring where For |
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 Occurrence Source | |
StarSemiRing Edge Source | As E.g. |
StarSemiRing a => StarSemiRing (Maybe a) Source |