Distribution.Simple.PackageIndex

# Package index data type

type InstalledPackageIndex

data PackageIndex a

type FakeMap

# Creating an index

fromList

# Updates

merge

insert

deleteInstalledPackageId

deleteSourcePackageId

deletePackageName

# Queries

## Precise lookups

lookupInstalledPackageId

lookupSourcePackageId

lookupPackageId

lookupPackageName

lookupDependency

## Case-insensitive searches

searchByName

data SearchResult a

searchByNameSubstring

## Bulk queries

allPackages

allPackagesByName

allPackagesBySourcePackageId

## Special queries

brokenPackages

dependencyClosure

reverseDependencyClosure

topologicalOrder

reverseTopologicalOrder

dependencyInconsistencies

dependencyCycles

dependencyGraph

moduleNameIndex

## Variants of special queries supporting fake map

fakeLookupInstalledPackageId

brokenPackages'

dependencyClosure'

reverseDependencyClosure'

dependencyInconsistencies'

dependencyCycles'

dependencyGraph'