Fix two bugs in rule-matching
authorsimonpj@microsoft.com <unknown>
Tue, 15 Aug 2006 16:20:30 +0000 (16:20 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 15 Aug 2006 16:20:30 +0000 (16:20 +0000)
commit969baa167e4afa382b2558a3648d57862c4401eb
treed52e2ace03bd5cb77338e5c2b416a34641c2b8d3
parent8ddba0f1a73eba7b03d27628cb54288e6a8de978
Fix two bugs in rule-matching

These two typo-like bugs have been there for a long time!

  One concerns the selection of overlapping rules,
  which was back to front

  The other was name-lining-up bug in the Case case of matching

This patch also arranges to export matchN.
  (Not a good name, but still!)
compiler/specialise/Rules.lhs