Distribution.Simple.PackageIndex

# Package index data type

type InstalledPackageIndex

data PackageIndex a

# Creating an index

fromList

# Updates

merge

insert

deleteUnitId

deleteSourcePackageId

deletePackageName

# Queries

## Precise lookups

lookupUnitId

lookupComponentId

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

# Backwards compatibility

deleteInstalledPackageId

lookupInstalledPackageId