
#10697: Change template-haskell API to allow NOUNPACK, lazy annotations -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #5290, #8347 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Well, data constructors do record their `HsSrcBangs` as well as their impl-bangs. {{{ dataConSrcBangs :: DataCon -> [HsSrcBang] dataConSrcBangs = dcSrcBangs }}} So can't you just reify those? Then you get back what the user wrote, which seems reasonable for reification. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10697#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler