Module
Data.Monoid.Alternate  
- Package
- purescript-monoidDEPRECATED
- Repository
- purescript/purescript-monoid
#Alternate Source
newtype Alternate f aMonoid and semigroup instances corresponding to Plus and Alt instances
for f
Alternate fx <> Alternate fy == Alternate (fx <|> fy)
mempty :: Alternate _ == Alternate empty
Constructors
- Alternate (f a)
Instances
- Newtype (Alternate f a) _
- (Eq (f a)) => Eq (Alternate f a)
- (Ord (f a)) => Ord (Alternate f a)
- (Bounded (f a)) => Bounded (Alternate f a)
- (Functor f) => Functor (Alternate f)
- (Invariant f) => Invariant (Alternate f)
- (Apply f) => Apply (Alternate f)
- (Applicative f) => Applicative (Alternate f)
- (Alt f) => Alt (Alternate f)
- (Plus f) => Plus (Alternate f)
- (Alternative f) => Alternative (Alternate f)
- (Bind f) => Bind (Alternate f)
- (Monad f) => Monad (Alternate f)
- (Extend f) => Extend (Alternate f)
- (Comonad f) => Comonad (Alternate f)
- (Show (f a)) => Show (Alternate f a)
- (Alt f) => Semigroup (Alternate f a)
- (Plus f) => Monoid (Alternate f a)