Preserve evaluated-ness in CoreTidy
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 8 May 2014 09:38:52 +0000 (10:38 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 8 May 2014 09:59:39 +0000 (10:59 +0100)
commit35be701121056b83e9f1ef911156aec829180a6b
treed68f9b621b2054bcb5d9716f620798f000e56fb7
parent40887990f274f900f306ca319d356f3046bf81a1
Preserve evaluated-ness in CoreTidy

The main effect of this patch is to preserve the evaluated-ness of
case binders and suchlike, to avoid spurious Lint complaints after
tidying.  See Note [Preserve evaluatedness] in CoreTidy.

Plus a bit of associated refactoring of tidyIdBndr, tidyLetBndr.
compiler/coreSyn/CoreTidy.lhs