
#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 adamse):
You can, with ​dataConImplBangs. ​HsImplBang only has three possible configurations: HsLazy, HsStrict, and HsUnpack.
I'm well aware, I was thinking more of some debug flag to give GHC: perhaps `-ddump-dataconrep`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10697#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler