Skip to content
  • Simon Peyton Jones's avatar
    Refactor functional dependencies a bit · eb55ec29
    Simon Peyton Jones authored
    * Rename CoAxiom.Eqn = Pair Type to TypeEqn,
      and use it for fundeps
    
    * Use the FunDepEqn for injectivity, which lets us share a bit
      more code, and (more important) brain cells
    
    * When generating fundeps, take the max depth of the two
      constraints.  This aimed at tackling the strange loop in
      Trac #12860, but there is more to come for that.
    
    * Improve pretty-printing with -ddump-tc-trace
    eb55ec29