[GHC] #13290: Data constructors should not have RULES

GHC ghc-devs at haskell.org
Fri Feb 17 16:30:03 UTC 2017


#13290: Data constructors should not have RULES
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  dfeuer
            Type:  bug               |               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 simonpj):

 > But with your fix for matching strict constructors, is there any reason
 to prohibit it aside from the as-yet-undecided static data optimization?

 I don't know and I don't even want to think about it until we have a
 powerful reason for wanting it.  It feel Wrong Wrong Wrong for a passive
 data constructor to start rewriting itself.

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


More information about the ghc-tickets mailing list