Tue Oct 28 04:54:27 PDT 2008 [EMAIL PROTECTED]
* Mostly-fix Trac #2595: updates for existentials
Ganesh wanted to update records that involve existentials. That
seems reasonable to me, and this patch covers existentials, GADTs,
and data type families.
The restriction is that
The types of the updated fields may mention only the
universally-quantified type variables of the data constructor
This doesn't allow everything in #2595 (it allows 'g' but not 'f' in
the ticket), but it gets a lot closer.
Lots of the new lines are comments!
M ./compiler/deSugar/DsExpr.lhs -31 +78
M ./compiler/deSugar/DsMonad.lhs -5 +15
M ./compiler/typecheck/TcExpr.lhs -125 +183
M ./compiler/typecheck/TcHsSyn.lhs -3 +3
M ./docs/users_guide/glasgow_exts.xml -4 +17
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081028115427-1287e-94851b4a898feb1c2598fb35a11ab4817ad9986c.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc