[GHC] #10708: Rejection of constant functions defined using conditional pattern matching

GHC ghc-devs at haskell.org
Mon Aug 3 14:54:50 UTC 2015


#10708: Rejection of constant functions defined using conditional pattern matching
-------------------------------------+-------------------------------------
        Reporter:  HubertGaravel     |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by goldfire):

 * status:  closed => new
 * type:  bug => feature request
 * resolution:  invalid =>
 * os:  Linux => Unknown/Multiple
 * architecture:  x86 => Unknown/Multiple


Comment:

 I find comment:5 compelling. But is it worth implementing, and invariably
 adding a new language flag? I'm not sure, but I'm turning this back around
 into a feature request.

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


More information about the ghc-tickets mailing list