• Edward Z. Yang's avatar
    Switch InstallPlan over to using IPID-indexed PackageIndex. · 6465d174
    Edward Z. Yang authored
    While this doesn't let us get rid of Distribution.Client.PackageIndex,
    it does make InstallPlan more flexible, so we can have the same
    package name-package version in the install plan multiple times.
    We do this by synthesizing fake installed package IDs to act
    as placeholders prior to compilation.
    There is some shindig with 'FakeMap' in PackageIndex, check out
    the Note in that file for more details.
    Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
PackageIndex.hs 25.9 KB