More refactoring in SpecConstr
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 25 Aug 2014 12:38:55 +0000 (13:38 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 25 Aug 2014 12:39:16 +0000 (13:39 +0100)
commit5c4df28831fe40493f6b4d2577c255198774eeca
tree6e53e62a659320894872b7ea9fd21fcb242e78a9
parentaf4bc31c50c873344a2426d4be842f92edf17019
More refactoring in SpecConstr

This patch should make no change in behaviour.

 * Make RhsInfo into a record

 * Include ri_rhs_usg, which previously travelled around separately

 * Introduce specRec, specNonRec, and
   make them return [OneSpec] rather than SpecInfo
compiler/specialise/SpecConstr.lhs