Support new role annotation syntax.
authorRichard Eisenberg <eir@cis.upenn.edu>
Wed, 11 Sep 2013 04:56:03 +0000 (00:56 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Wed, 18 Sep 2013 01:20:29 +0000 (21:20 -0400)
commit98a63b910683710c80349bebbd8d1897d7410af6
treec9cc2c66fb30ad769486dea0396409aeab7b6606
parenta1233f237a1f2a92682058ce0ca80bbab4633c40
Support new role annotation syntax.

This reverts the change to TyVarBndr (which now has only two
constructors, PlainTV and KindedTV) and adds a new Dec, RoleAnnotD.
There is also an updated definition for the type Role, to allow
for wildcard annotations.
libraries/template-haskell/Language/Haskell/TH.hs
libraries/template-haskell/Language/Haskell/TH/Lib.hs
libraries/template-haskell/Language/Haskell/TH/Ppr.hs
libraries/template-haskell/Language/Haskell/TH/Syntax.hs