Distribution.Simple.PackageIndex

# Package index data type

data PackageIndex

# Creating an index

fromList

# Updates

merge

insert

deleteInstalledPackageId

deleteSourcePackageId

deletePackageName

# Queries

## Precise lookups

lookupInstalledPackageId

lookupSourcePackageId

lookupPackageName

lookupDependency

## Case-insensitive searches

searchByName

data SearchResult a

searchByNameSubstring

## Bulk queries

allPackages

allPackagesByName

## Special queries

brokenPackages

dependencyClosure

reverseDependencyClosure

topologicalOrder

reverseTopologicalOrder

dependencyInconsistencies

dependencyCycles

dependencyGraph

moduleNameIndex