
#10541: Expose kind information for type variables with reify -------------------------------------+------------------------------------- Reporter: spinda | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by goldfire): Could you post your use-case? One thing I'm worried about here is the possibility that the result of a TH splice could affect a type variable's kind. For example: {{{ foo :: forall a. Proxy a -> $( ... ) }}} where the splice produces `a -> a`. If the code running in the splice needs the kind of `a`, we have a loop. Unless I'm missing something... which is entirely possible, as something smells wrong to me in my comment. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10541#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler