[GHC] #12618: Add saturated constructor applications to Core

GHC ghc-devs at haskell.org
Sun Sep 25 18:58:40 UTC 2016


#12618: Add saturated constructor applications to Core
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      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 nomeata):

 There are two different things that are orthogonal:
  *  Enforcing saturated function calls (types are calling convention
 etc.), which this ticket is ''not'' about about.
  * Here, we want to avoid storing redundant types arguments.
 As this can be implemented with pattern synonyms, this should be a
 semantically transparent change. The former is also interesting (and there
 is some simplicity to be gained by having both, as the arity of a function
 application would be determined by the function’s type), but let’s keep
 them separate for now.

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


More information about the ghc-tickets mailing list