| Safe Haskell | Trustworthy |
|---|---|
| Language | Haskell98 |
Data.Semigroup.Union
- module Data.Semigroup.Reducer
- class HasUnion f where
- class HasUnion f => HasUnion0 f where
- newtype Union f = Union {
- getUnion :: f
- class Functor f => HasUnionWith f where
- class HasUnionWith f => HasUnionWith0 f where
- 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 # | |
| Traversable1 Union Source # | |
| Foldable1 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 # | |
| HasUnion f => Semigroup (Union f) Source # | |
| HasUnion0 f => Monoid (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
Minimal complete definition
Instances
| HasUnionWith IntMap Source # | |
| Ord k => HasUnionWith (Map k) Source # | |
| (Eq k, Hashable k) => HasUnionWith (HashMap k) Source # | |
class HasUnionWith f => HasUnionWith0 f where Source #
Minimal complete definition
Instances
| HasUnionWith0 IntMap Source # | |
| Ord k => HasUnionWith0 (Map k) Source # | |
| (Eq k, Hashable k) => HasUnionWith0 (HashMap k) Source # | |
newtype UnionWith f m Source #
Constructors
| UnionWith | |
Fields
| |