[GHC] #10697: Change template-haskell API to allow NOUNPACK, lazy annotations
GHC
ghc-devs at haskell.org
Thu Dec 10 16:51:56 UTC 2015
#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):
But if
> TH is supposed to reflect source code
it is clear to the user of TH that the GHC could do more things to the
code. I think this is true: a datatype will always be *at least* as strict
and unpacked as `HsSrcBangs`/reification says.
(relatedly I wonder if I can get GHC to tell me what
strictness/unpackedness is ultimately choosen, as a debugging tool)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10697#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list