Module
Data.Monoid.Inf
- Package
- purescript-monoid-extras
- Repository
- mikesol/purescript-monoid-extras
#Inf Source
data Inf :: forall k. k -> Type -> Type
data Inf p a
@Inf p a@ represents the type 'a' extended with a new "infinite"
Constructors
Instances
(Eq a) => Eq (Inf p a)
Functor (Inf p)
Foldable (Inf p)
Traversable (Inf p)
(Ord a) => Ord (Inf Pos a)
(Ord a) => Ord (Inf Neg a)
Negative infinity is less than any finite value.
(Ord a) => Semigroup (Inf Pos a)
An ordered type extended with positive infinity is a semigroup
(Ord a) => Semigroup (Inf Neg a)
An ordered type extended with negative infinity is a semigroup
(Ord a) => Monoid (Inf Pos a)
An ordered type extended with positive infinity is a monoid under
(Ord a) => Monoid (Inf Neg a)
An ordered type extended with negative infinity is a monoid under
Applicative (Inf p)
Apply (Inf p)
Bind (Inf p)
Monad (Inf p)
Positive infinity is greater than any finite value.