This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 09 Feb, 2017 1 commit
    • Ben Gamari's avatar
      Fix GHC bootstrapping · b0f257b1
      Ben Gamari authored
      GHC's stage0 build doesn't provide MIN_VERSION_* macros. We need to take care to
      provide appropriate version check macros by hand in GHC's build system.
      b0f257b1
  2. 08 Feb, 2017 1 commit
    • Duncan Coutts's avatar
      Change Graph.fromList to fromDistinctList and fix conseqeunces · 1440ffd5
      Duncan Coutts authored and Edward Z. Yang's avatar Edward Z. Yang committed
      It's really an error to try and build a graph where you have duplicate
      node keys, so remove Graph.fromList and add Graph.fromDistinctList. This
      check is always on, not just an assertion, becuase we get it for free
      given the way Maps can be constructed.
      
      All uses of Graph.fromList are ok to convert to fromDistinctList.
      1440ffd5
  3. 26 Sep, 2016 2 commits
    • Duncan Coutts's avatar
      Add InstallPlan.{toGraph,toMap,keys,keysSet} · 9b40b06c
      Duncan Coutts authored
      At least keysSet will be useful shortly. Others are just for good
      measure (though there's probably some cases where we could avoid
      converting to and from lists if we used toMap or toGraph).
      9b40b06c
    • Duncan Coutts's avatar
      Better errors when the InstallPlan invariant is violated · 12a39b68
      Duncan Coutts authored
      Same idea as a patch proposed by ezyang but with somewhat less
      infrastructure needed. We just use individual asserts for each part of
      the invariant, so the assert source location tells us which part was
      violated. Hopefully call stacks can also tell us in which function the
      invariant was checked.
      12a39b68
  4. 26 Jul, 2016 3 commits
  5. 25 Jul, 2016 2 commits
  6. 11 Jul, 2016 4 commits