| Safe Haskell | Trustworthy |
|---|---|
| Language | Haskell98 |
Data.Semigroup.Union
- module Data.Semigroup.Reducer
- class HasUnion f where
- union :: f -> f -> f
- class HasUnion f => HasUnion0 f where
- empty :: f
- newtype Union f = Union {
- getUnion :: f
- class Functor f => HasUnionWith f where
- unionWith :: (a -> a -> a) -> f a -> f a -> f a
- class HasUnionWith f => HasUnionWith0 f where
- emptyWith :: f a
- newtype UnionWith f m = UnionWith {
- getUnionWith :: f m
Documentation
module Data.Semigroup.Reducer
Unions of Containers
Instances
| Functor Union Source | |
| Foldable Union Source | |
| Traversable Union Source | |
| Foldable1 Union Source | |
| Traversable1 Union Source | |
| HasUnion f => Reducer f (Union f) Source | |
| Eq f => Eq (Union f) Source | |
| Ord f => Ord (Union f) Source | |
| Read f => Read (Union f) Source | |
| Show f => Show (Union f) Source | |
| HasUnion0 f => Monoid (Union f) Source | |
| HasUnion f => Semigroup (Union f) Source |
Unions of Containers of Semigroups
class Functor f => HasUnionWith f where Source
Polymorphic containers that we can supply an operation to handle unions with
Instances
| HasUnionWith IntMap Source | |
| Ord k => HasUnionWith (Map k) Source |
class HasUnionWith f => HasUnionWith0 f where Source
Instances
| HasUnionWith0 IntMap Source | |
| Ord k => HasUnionWith0 (Map k) Source |
Constructors
| UnionWith | |
Fields
| |