• Oleg Grenrus's avatar
    Add Distribution.Utils.Structured · ae33fcf9
    Oleg Grenrus authored
    It defines `Structured` type class, which we use to prepend
    a hash to cached `Binary` blobs. Thus we can catch early, if
    format is changed, avoiding corrupt cache making cabal
    behave weirdly.
    
    Plenty types got Typeable instances, as it's a superclass of Structured
    
    This commit also introduces new compat modules:
    
    - Distribution.Compat.Typeable with typeRep
    - Distribution.Client.Compat.Orphans,
      to collect at least some orphans into central place.
    ae33fcf9
cabal-install.cabal 14.8 KB