From: simonpj@microsoft.com Date: Tue, 15 Aug 2006 16:26:05 +0000 (+0000) Subject: SpecConstr now specialises on constants and lambdas X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c17dc70a1fbc9f376b5eab05b6a77c4af1aa7623;hp=c17dc70a1fbc9f376b5eab05b6a77c4af1aa7623;p=ghc-hetmet.git SpecConstr now specialises on constants and lambdas Roman inspired me to beef up SpecConstr to deal with a) constant arguments b) lambda arguments This is described in elaborate comments in the file: Note [Specialising for constant parameters] Note [Specialising for lambda parameters] I also took the opportunity to fix the usage analysis done by SpecConstr, which was only handling the top-level correctly. Now it does nesting too. ---