Distribution.Simple.PackageIndex

# Package index data type

data PackageIndex pkg

# Creating an index

fromList

# Updates

merge
insert
deletePackageName
deletePackageId
deleteDependency

# Queries

## Precise lookups

lookupPackageName
lookupPackageId
lookupDependency

## Case-insensitive searches

searchByName
data SearchResult a
searchByNameSubstring

## Bulk queries

allPackages
allPackagesByName

## Special queries

brokenPackages
dependencyClosure
reverseDependencyClosure
topologicalOrder
reverseTopologicalOrder
dependencyInconsistencies
dependencyCycles
dependencyGraph