loadRepository :: IO SourceRepository
loadRepository =
    availablePackagesOnHackage >>=
    return . pruneIndex packagesDigest >>=
    return . Map.union packagesNotOnHackage >>=
    getPackages
loadRepository :: IO SourceRepository
loadRepository =
    availablePackagesOnHackage >>=
    return . pruneIndex packagesDigest >>=
    return . Map.union packagesNotOnHackage >>=
    getPackages
loadRepository =
    availablePackagesOnHackage >>=
    return . pruneIndex packagesDigest >>=
    return . Map.union packagesNotOnHackage >>=
    getPackages