| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.Star
Documentation
class Semiring a => Star a where Source #
A Star semiring
adds one operation, star to a Semiring, such that it follows the
law:
starx =one+x*starx =one+starx*x
Another operation, aplus, can be defined in terms of star:
aplusx = x*starx