Add a coercion optimiser, to reduce the size of coercion terms
authorsimonpj@microsoft.com <unknown>
Mon, 26 Oct 2009 09:47:56 +0000 (09:47 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 26 Oct 2009 09:47:56 +0000 (09:47 +0000)
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.


No differences found