Tue Jan 22 04:26:13 PST 2008 [EMAIL PROTECTED]
* Tidy up the treatment of SPECIALISE pragmas
Remove the now-redundant "const-dicts" field in SpecPrag
In dsBinds, abstract over constant dictionaries in the RULE.
This avoids the creation of a redundant, duplicate, rule later
in the Specialise pass, which was happening before.
There should be no effect on performance either way, just less
duplicated code, and the compiler gets a little simpler.
M ./compiler/deSugar/DsBinds.lhs -16 +27
M ./compiler/hsSyn/HsBinds.lhs -5 +2
M ./compiler/typecheck/TcBinds.lhs -4 +2
M ./compiler/typecheck/TcHsSyn.lhs -3 +2
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc