[GHC] #9272: Template Haskell doesn't support n+k patterns

GHC ghc-devs at haskell.org
Sun Jul 6 19:36:22 UTC 2014


#9272: Template Haskell doesn't support n+k patterns
----------------------------------------------+----------------------------
        Reporter:  br1                        |            Owner:
            Type:  bug                        |           Status:  new
        Priority:  normal                     |        Milestone:
       Component:  Template Haskell           |          Version:  7.8.2
      Resolution:                             |         Keywords:
Operating System:  Unknown/Multiple           |     Architecture:
 Type of failure:  GHC rejects valid program  |  Unknown/Multiple
       Test Case:                             |       Difficulty:  Unknown
        Blocking:                             |       Blocked By:
                                              |  Related Tickets:
----------------------------------------------+----------------------------

Comment (by goldfire):

 n+k patterns are often seen as a misfeature and in fact were removed from
 Haskell 2010. See http://stackoverflow.com/questions/3748592/what-are-nk-
 patterns-and-why-are-they-banned-from-haskell-2010 for further discussion.
 I'm tempted to close as "wontfix" but want a concurring opinion before
 doing so.

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


More information about the ghc-tickets mailing list