[GHC] #16240: Core visible conditional compilation/static definition/code selection based upon static key values

GHC ghc-devs at haskell.org
Fri Feb 1 22:21:06 UTC 2019


#16240: Core visible  conditional compilation/static definition/code selection
based upon static key values
-------------------------------------+-------------------------------------
        Reporter:  carter            |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.7
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by carter):

 after speaking with alanz on IRC a smidge, he's meaning "CPP as a support
 tool for portable code across platforms/configurations ghc versions", vs
 #define'd names/procedures as a poor mans macrosystem that lighter weight
 than TH and simpler to use/write

 this ticket is about the former, though its definitely true we would
 benefit from thinking about a decent macro systemy thing for syntactic
 abstraction

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


More information about the ghc-tickets mailing list