Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class Semigroup a => SemigroupWithZero a where
- newtype WithZero a where
Documentation
class Semigroup a => SemigroupWithZero a where Source #
zero <> a = zero = a <> zero
SemigroupWithZero All Source # | |
SemigroupWithZero Any Source # | |
SemigroupWithZero Prefix Source # | |
(Ord a, Bounded a) => SemigroupWithZero (Min a) Source # | |
(Ord a, Bounded a) => SemigroupWithZero (Max a) Source # | |
SemigroupWithZero a => SemigroupWithZero (Dual a) Source # | |
Num a => SemigroupWithZero (Product a) Source # | |
Semigroup a => SemigroupWithZero (WithZero a) Source # | |
Composable a => SemigroupWithZero (Partial a) Source # | |
WithZero | |
|
Monad WithZero Source # | |
Functor WithZero Source # | |
Applicative WithZero Source # | |
Foldable WithZero Source # | |
Traversable WithZero Source # | |
Alternative WithZero Source # | |
MonadPlus WithZero Source # | |
MonadZip WithZero Source # | |
Eq a => Eq (WithZero a) Source # | |
Data a => Data (WithZero a) Source # | |
Ord a => Ord (WithZero a) Source # | |
Read a => Read (WithZero a) Source # | |
Show a => Show (WithZero a) Source # | |
IsString a => IsString (WithZero a) Source # | |
Generic (WithZero a) Source # | |
Semigroup a => Semigroup (WithZero a) Source # | |
Monoid a => Monoid (WithZero a) Source # | |
Semigroup a => SemigroupWithZero (WithZero a) Source # | |
Generic1 * WithZero Source # | |
type Rep (WithZero a) Source # | |
type Rep1 * WithZero Source # | |