[GHC] #10548: Support PartialTypeSignatures in Template Haskell

GHC ghc-devs at haskell.org
Sat Jun 20 03:13:15 UTC 2015


#10548: Support PartialTypeSignatures in Template Haskell
-------------------------------------+-------------------------------------
              Reporter:  spinda      |             Owner:
                  Type:  feature     |            Status:  new
  request                            |         Milestone:
              Priority:  normal      |           Version:  7.10.1
             Component:  Template    |  Operating System:  Unknown/Multiple
  Haskell                            |   Type of failure:  None/Unknown
              Keywords:              |        Blocked By:
          Architecture:              |   Related Tickets:
  Unknown/Multiple                   |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 Currently Template Haskell cannot emit
 [https://hackage.haskell.org/package/template-haskell-2.10.0.0/docs
 /Language-Haskell-TH-Syntax.html#t:Type Type]s with wildcards as in
 [https://ghc.haskell.org/trac/ghc/wiki/PartialTypeSignatures
 PartialTypeSignatures].

 A data constructor for wildcards (eg. {{{WildcardT (Maybe Name)}}}) could
 be added to [https://hackage.haskell.org/package/template-
 haskell-2.10.0.0/docs/Language-Haskell-TH-Syntax.html#t:Type Type], which
 would be converted to wildcards in GHC.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10548>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list