variation-0.1.1.0: nominal value with possible variations
Data.Monoid1
Synopsis
class Unit1 m where Source #
the class of containers with a "nil" element
Minimal complete definition
empty1
Methods
empty1 :: m a Source #
Instances
empty1 :: [a] Source #
empty1 :: First a Source #
empty1 :: Last a Source #
empty1 :: IntMap a Source #
empty1 :: WrappedMonad m a Source #
empty1 :: Map k a Source #
empty1 :: Const * a a Source #
class Append1 m where Source #
the class of containers that can be combined regardless of type they contain
append1
append1 :: m a -> m a -> m a Source #
append1 :: [a] -> [a] -> [a] Source #
append1 :: First a -> First a -> First a Source #
append1 :: Last a -> Last a -> Last a Source #
append1 :: IntMap a -> IntMap a -> IntMap a Source #
append1 :: WrappedMonad m a -> WrappedMonad m a -> WrappedMonad m a Source #
append1 :: Map k a -> Map k a -> Map k a Source #
append1 :: Variation f a -> Variation f a -> Variation f a Source #
append1 :: Const * a a -> Const * a a -> Const * a a Source #
class (Unit1 m, Append1 m) => Monoid1 m Source #
the class of containers that form a Monoid regardless of the type they contain
Monoid