Skip to content
  • Simon Peyton Jones's avatar
    Add a coercion optimiser, to reduce the size of coercion terms · 48196c3c
    Simon Peyton Jones authored
    Coercion terms can get big (see Trac #2859 for example), so this
    patch puts the infrastructure in place to optimise them:
    
      * Adds Coercion.optCoercion :: Coercion -> Coercion
    
      * Calls optCoercion in Simplify.lhs
    
    The optimiser doesn't work right at the moment, so it is 
    commented out, but Tom is going to work on it.
    48196c3c