[project @ 2001-01-12 11:36:24 by simonpj]
authorsimonpj <unknown>
Fri, 12 Jan 2001 11:36:24 +0000 (11:36 +0000)
committersimonpj <unknown>
Fri, 12 Jan 2001 11:36:24 +0000 (11:36 +0000)
commit679560cdce96a854db3dbab5380da72ea56f5b85
tree69ff47848d57548441f4dc026b43bd01fdf23514
parent26b8a5b3feab9d556c92f495a6775acf8cf9f3ec
[project @ 2001-01-12 11:36:24 by simonpj]
Amazingly, SimplCore.simplifyExpr didn't call the occurrence
analyser, so expressions typed in at the prompt were being
simplified very weedily.  Ditto the LHS and RHS of RULES.

So SimplCore.simplExprGently now does the business.  It runs
the simplifier twice because one pass leaves tons of crud.

This doesn't fix any bugs but it is cleaner.
ghc/compiler/simplCore/SimplCore.lhs