| EdisonCore-1.2.1.2: A library of efficent, purely-functional data structures (Core Implementations) | Source code | Contents | Index |
|
Data.Edison.Assoc.Defaults | Portability | GHC, Hugs (MPTC and FD) | Stability | internal (unstable) | Maintainer | robdockins AT fastmail DOT fm |
|
|
|
Description |
This module provides default implementations of many of the associative
collection operations. These function are used to fill in collection
implementations and are not intended to be used directly by end users.
|
|
|
Documentation |
|
singletonUsingInsert :: Assoc m k => k -> a -> m a | Source |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lookupWithDefaultUsingLookupM :: AssocX m k => a -> k -> m a -> a | Source |
|
|
|
|
fold1UsingElements :: AssocX m k => (a -> a -> a) -> m a -> a | Source |
|
|
|
|
|
|
insertWithUsingLookupM :: FiniteMapX m k => (a -> a -> a) -> k -> a -> m a -> m a | Source |
|
|
|
|
|
|
insertWithKeyUsingInsertWith :: FiniteMapX m k => (k -> a -> a -> a) -> k -> a -> m a -> m a | Source |
|
|
|
|
insertSeqWithKeyUsingInsertWithKey :: (FiniteMapX m k, Sequence seq) => (k -> a -> a -> a) -> seq (k, a) -> m a -> m a | Source |
|
|
|
|
|
|
|
|
|
|
unionWithUsingInsertWith :: FiniteMap m k => (a -> a -> a) -> m a -> m a -> m a | Source |
|
|
unionWithKeyUsingInsertWithKey :: FiniteMap m k => (k -> a -> a -> a) -> m a -> m a -> m a | Source |
|
|
|
|
|
|
intersectionWithUsingLookupM :: FiniteMap m k => (a -> b -> c) -> m a -> m b -> m c | Source |
|
|
intersectionWithKeyUsingLookupM :: FiniteMap m k => (k -> a -> b -> c) -> m a -> m b -> m c | Source |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lookupAndDeleteDefault :: AssocX m k => k -> m a -> (a, m a) | Source |
|
|
|
|
|
|
adjustOrInsertUsingMember :: AssocX m k => (a -> a) -> a -> k -> m a -> m a | Source |
|
|
|
|
|
|
|
|
|
|
minElemWithKeyUsingMinViewWithKey :: OrdAssoc m k => m a -> (k, a) | Source |
|
|
|
|
|
|
maxElemWithKeyUsingMaxViewWithKey :: OrdAssoc m k => m a -> (k, a) | Source |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.3.0 |