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
Minimal complete definition
Instances
Unions of Containers of Semigroups
class Functor f => HasUnionWith f where #
Polymorphic containers that we can supply an operation to handle unions with
Minimal complete definition
Instances
HasUnionWith IntMap # | |
Ord k => HasUnionWith (Map k) # | |
(Eq k, Hashable k) => HasUnionWith (HashMap k) # | |
class HasUnionWith f => HasUnionWith0 f where #
Minimal complete definition
Instances
HasUnionWith0 IntMap # | |
Ord k => HasUnionWith0 (Map k) # | |
(Eq k, Hashable k) => HasUnionWith0 (HashMap k) # | |
Constructors
UnionWith | |
Fields
|