Data.IntMap.Internal

# Map type

data IntMap a

type Key

# Operators

(!)

(\\)

# Query

null

size

member

notMember

lookup

findWithDefault

lookupLT

lookupGT

lookupLE

lookupGE

# Construction

empty

singleton

## Insertion

insert

insertWith

insertWithKey

insertLookupWithKey

## Delete/Update

delete

adjust

adjustWithKey

update

updateWithKey

updateLookupWithKey

alter

alterF

# Combine

## Union

union

unionWith

unionWithKey

unions

unionsWith

## Difference

difference

differenceWith

differenceWithKey

## Intersection

intersection

intersectionWith

intersectionWithKey

## General combining function

type SimpleWhenMissing

type SimpleWhenMatched

runWhenMatched

runWhenMissing

merge

### `WhenMatched` tactics

zipWithMaybeMatched

zipWithMatched

### `WhenMissing` tactics

mapMaybeMissing

dropMissing

preserveMissing

mapMissing

filterMissing

## Applicative general combining function

data WhenMissing f x y

data WhenMatched f x y z

mergeA

### `WhenMatched` tactics

zipWithMaybeAMatched

zipWithAMatched

### `WhenMissing` tactics

traverseMaybeMissing

traverseMissing

filterAMissing

## Deprecated general combining function

mergeWithKey

mergeWithKey'

# Traversal

## Map

map

mapWithKey

traverseWithKey

mapAccum

mapAccumWithKey

mapAccumRWithKey

mapKeys

mapKeysWith

mapKeysMonotonic

# Folds

foldr

foldl

foldrWithKey

foldlWithKey

foldMapWithKey

## Strict folds

foldr'

foldl'

foldrWithKey'

foldlWithKey'

# Conversion

elems

keys

assocs

keysSet

fromSet

## Lists

toList

fromList

fromListWith

fromListWithKey

## Ordered lists

toAscList

toDescList

fromAscList

fromAscListWith

fromAscListWithKey

fromDistinctAscList

# Filter

filter

filterWithKey

restrictKeys

withoutKeys

partition

partitionWithKey

mapMaybe

mapMaybeWithKey

mapEither

mapEitherWithKey

split

splitLookup

splitRoot

# Submap

isSubmapOf

isSubmapOfBy

isProperSubmapOf

isProperSubmapOfBy

# Min/Max

findMin

findMax

deleteMin

deleteMax

deleteFindMin

deleteFindMax

updateMin

updateMax

updateMinWithKey

updateMaxWithKey

minView

maxView

minViewWithKey

maxViewWithKey

# Debugging

showTree

showTreeWith

# Internal types

type Mask

type Prefix

type Nat

# Utility

natFromInt

intFromNat

link

bin

binCheckLeft

binCheckRight

zero

nomatch

match

mask

maskW

shorter

branchMask

highestBitMask

# Used by IntMap.Merge.Lazy and IntMap.Merge.Strict

mapWhenMissing

mapWhenMatched

lmapWhenMissing

contramapFirstWhenMatched

contramapSecondWhenMatched

mapGentlyWhenMissing

mapGentlyWhenMatched