Change Dependency module to use the LocalIndex ADT
The whole Dependency module is pure now, no IO since it takes the indexes as arguments, rather than the many more args required to do the IO to load up the indexes. Much nicer. Also update all callers.
Showing
- cabal-install/Hackage/Dependency.hs 46 additions, 70 deletionscabal-install/Hackage/Dependency.hs
- cabal-install/Hackage/Fetch.hs 10 additions, 5 deletionscabal-install/Hackage/Fetch.hs
- cabal-install/Hackage/Info.hs 6 additions, 1 deletioncabal-install/Hackage/Info.hs
- cabal-install/Hackage/Install.hs 11 additions, 3 deletionscabal-install/Hackage/Install.hs
- cabal-install/Hackage/Upgrade.hs 10 additions, 3 deletionscabal-install/Hackage/Upgrade.hs
Loading
Please register or sign in to comment