patch applied (ghc): Improve simplification of coercions

Simon Peyton Jones simonpj at microsoft.com
Mon Feb 5 12:47:15 EST 2007


Mon Feb  5 08:33:24 PST 2007  simonpj at microsoft.com
  * Improve simplification of coercions
  
  At the moment GHC really does very little simplification of coercions.
  This patch improves matters, but it's still not great, especially when
  you have chains linked together with 'trans'. 
  
  I'm also concerned that I have not yet implemented the 'leftc' and 'rightc'
  coercions we added to the paper. 
  
  But at least things are better than they were.  In particular
  	g `trans` sym g
  now cancels to give the identity.
  
  

    M ./compiler/types/Coercion.lhs -36 +46



More information about the Cvs-ghc mailing list