Rewrite a good chunk of CoreArity
authorsimonpj@microsoft.com <unknown>
Fri, 3 Apr 2009 08:36:55 +0000 (08:36 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 3 Apr 2009 08:36:55 +0000 (08:36 +0000)
commitea84860ef56d72da1f4c63d661b7ad333109237d
tree699d9f32bd024e4fc858b08399e981a95cc2acb8
parent5252fa374b66e58ae734eeae9684970837c6e990
Rewrite a good chunk of CoreArity

I found a couple of shortcomings in arity computation, and did
quite a bit of refactoring as a result.  Regrettably, I have
forgotten the details, but I do remember that one part was to
do with the infamous "state hack".  If we're going to use the
state-hack at all, we'd better do it right.

Anyway I think this is an improvement. The comments are more
up to date too, and more voluminous.
compiler/coreSyn/CoreArity.lhs