[project @ 2001-02-20 15:44:26 by simonpj]
authorsimonpj <unknown>
Tue, 20 Feb 2001 15:44:26 +0000 (15:44 +0000)
committersimonpj <unknown>
Tue, 20 Feb 2001 15:44:26 +0000 (15:44 +0000)
commit1703fe03e209e9d1f11c19a2b05fd4f0fd3d28f0
tree1fc4cd5b0b6879dd2a7777415803db1f407a49cb
parent48d9dabfc35cf175ffa5e247d81e74dc4a322738
[project @ 2001-02-20 15:44:26 by simonpj]
Eta expansion wibbles
~~~~~~~~~~~~~~~~~~~~~
* Don't eta reduce, and do eta expand,
  data con workers and primops

  Reason: they don't have bindings, so they aren't really
  ordinary variables.

This is a bit of a swamp, provoked by moving CoreSat later,
something I'm beginning to wonder about...

Not are things settled yet -- I think some rules may
not fire that should because of constructor worker/wrapper
issues.  E.g when you have   foldr (:) [] xs = xs
ghc/compiler/coreSyn/CoreUtils.lhs
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/DriverState.hs
ghc/compiler/simplCore/Simplify.lhs