Refactor the desugaring of RULE lhss a bit
authorsimonpj@microsoft.com <unknown>
Mon, 15 Sep 2008 15:06:01 +0000 (15:06 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 15 Sep 2008 15:06:01 +0000 (15:06 +0000)
commit539b572921068dc02cec4c5a71e8516958949336
treed8edc43089c20d8d254a64b8ba4cabce35141928
parenta47d62f78621bb35f4ba73cd3817f33fda95fa72
Refactor the desugaring of RULE lhss a bit

This is just a tidy-up.  Previously we were calling occurAnalyse
twice on each LHS which was silly and a bit unclean too.

This patch should have no overall effect, though.
compiler/deSugar/Desugar.lhs
compiler/deSugar/DsBinds.lhs