rings-0.0.2: Rings, semirings, and dioids.

Safe HaskellSafe
LanguageHaskell2010

Data.Semigroup.Quantale

Synopsis

Documentation

residuated :: Quantale a => a -> a -> a -> Bool Source #

class (Semigroup a, Prd a) => Quantale a where Source #

Residuated, partially ordered semigroups.

In the interest of usability we abuse terminology slightly and use the term quantale to describe any residuated, partially ordered semigroup. This admits instances of hoops and triangular (co)-norms.

There are several additional properties that apply when the poset structure is lattice-ordered (i.e. a residuated lattice) or when the semigroup is a monoid or semiring. See the associated Properties module.

Minimal complete definition

Nothing

Methods

residr :: a -> Conn a a Source #

residl :: a -> Conn a a Source #

(\\) :: a -> a -> a Source #

(//) :: a -> a -> a Source #

lower' :: Prd a => Float -> (Float -> a) -> a -> Float Source #

upper' :: Prd a => Float -> (Float -> a) -> a -> Float Source #

incBy :: Yoneda a => Quantale a => a -> Rep a -> Rep a Source #

decBy :: Yoneda a => Quantale a => a -> Rep a -> Rep a Source #