summaryrefslogtreecommitdiff
path: root/src/Data/Dependent/EnumMap/Strict.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Dependent/EnumMap/Strict.hs')
-rw-r--r--src/Data/Dependent/EnumMap/Strict.hs162
1 files changed, 82 insertions, 80 deletions
diff --git a/src/Data/Dependent/EnumMap/Strict.hs b/src/Data/Dependent/EnumMap/Strict.hs
index 515a186..8a2edd1 100644
--- a/src/Data/Dependent/EnumMap/Strict.hs
+++ b/src/Data/Dependent/EnumMap/Strict.hs
@@ -11,47 +11,47 @@ module Data.Dependent.EnumMap.Strict (
-- ** From Unordered Lists
fromList,
- -- fromListWith
- -- fromListWithKey
+ fromListWith,
+ fromListWithKey,
-- ** From Ascending Lists
- -- fromAscList
- -- fromAscListWith
- -- fromAscListWithKey
+ fromAscList,
+ fromAscListWith,
+ fromAscListWithKey,
fromDistinctAscList,
-- * Insertion
insert,
- -- insertWith
+ insertWith,
insertWithKey,
- -- insertLookupWithKey
+ insertLookupWithKey,
-- * Deletion\/Update
delete,
adjust,
- -- adjustWithKey
- -- update
- -- updateWithKey
- -- updateLookupWithKey
+ adjustWithKey,
+ update,
+ updateWithKey,
+ updateLookupWithKey,
alter,
- -- alterF
+ alterF,
-- * Query
-- ** Lookup
lookup,
- -- (!?)
- -- (!)
+ (!?),
+ (!),
findWithDefault,
member,
- -- notMember
- -- lookupLT
- -- lookupGT
- -- lookupLE
- -- lookupGE
+ notMember,
+ lookupLT,
+ lookupGT,
+ lookupLE,
+ lookupGE,
-- ** Size
@@ -63,70 +63,70 @@ module Data.Dependent.EnumMap.Strict (
union,
unionWith,
- -- unionWithKey
- -- unions
- -- unionsWith
+ unionWithKey,
+ unions,
+ unionsWith,
-- ** Difference
difference,
- -- (\\)
- -- differenceWith
- -- differenceWithKey
+ (\\),
+ differenceWith,
+ differenceWithKey,
-- ** Intersection
- -- intersection
- -- intersectionWith
- -- intersectionWithKey
+ intersection,
+ intersectionWith,
+ intersectionWithKey,
-- ** Disjoint
- -- disjoint
+ disjoint,
-- ** Compose
- -- compose
+ compose,
-- ** Universal combining function
- -- mergeWithKey
+ mergeWithKey,
-- * Traversal
-- ** Map
- -- map
- -- mapWithKey
- -- traverseWithKey
- -- traverseMaybeWithKey
- -- mapAccum
- -- mapAccumWithKey
- -- mapAccumRWithKey
- -- mapKeys
- -- mapKeysWith
- -- mapKeysMonotonic
+ map,
+ mapWithKey,
+ traverseWithKey,
+ traverseMaybeWithKey,
+ mapAccum,
+ mapAccumWithKey,
+ mapAccumRWithKey,
+ -- mapKeys,
+ -- mapKeysWith,
+ -- mapKeysMonotonic,
-- * Folds
- -- foldr
- -- foldl
- -- foldrWithKey
- -- foldlWithKey
- -- foldMapWithKey
+ foldr,
+ foldl,
+ foldrWithKey,
+ foldlWithKey,
+ foldMapWithKey,
-- ** Strict folds
- -- foldr'
- -- foldl'
- -- foldrWithKey'
- -- foldlWithKey'
+ foldr',
+ foldl',
+ foldrWithKey',
+ foldlWithKey',
-- * Conversion
elems,
keys,
- -- assocs
+ assocs,
-- keysSet
-- ** Lists
@@ -140,48 +140,50 @@ module Data.Dependent.EnumMap.Strict (
-- * Filter
- -- filter
- -- filterWithKey
+ filter,
+ filterWithKey,
-- restrictKeys
-- withoutKeys
partition,
partitionWithKey,
- -- takeWhileAntitone
- -- dropWhileAntitone
- -- spanAntitone
+ takeWhileAntitone,
+ dropWhileAntitone,
+ spanAntitone,
- -- mapMaybe
- -- mapMaybeWithKey
- -- mapEither
- -- mapEitherWithKey
+ mapMaybe,
+ mapMaybeWithKey,
+ mapEither,
+ mapEitherWithKey,
- -- split
- -- splitLookup
- -- splitRoot
+ split,
+ splitLookup,
+ splitRoot,
-- * Submap
- -- isSubmapOf, isSubmapOfBy
- -- isProperSubmapOf, isProperSubmapOfBy
+ isSubmapOf,
+ isSubmapOfBy,
+ isProperSubmapOf,
+ isProperSubmapOfBy,
-- * Min\/Max
- -- lookupMin
- -- lookupMax
- -- findMin
- -- findMax
- -- deleteMin
- -- deleteMax
- -- deleteFindMin
- -- deleteFindMax
- -- updateMin
- -- updateMax
- -- updateMinWithKey
- -- updateMaxWithKey
- -- minView
- -- maxView
- -- minViewWithKey
+ lookupMin,
+ lookupMax,
+ findMin,
+ findMax,
+ deleteMin,
+ deleteMax,
+ deleteFindMin,
+ deleteFindMax,
+ updateMin,
+ updateMax,
+ updateMinWithKey,
+ updateMaxWithKey,
+ minView,
+ maxView,
+ minViewWithKey,
maxViewWithKey,
) where