[GHC] #94: Bad space behaviour with huge input file

GHC ghc-devs at haskell.org
Thu Mar 22 08:25:13 UTC 2018


#94: Bad space behaviour with huge input file
--------------------------------+---------------------
       Reporter:  ajk           |      Owner:  simonpj
           Type:  bug           |     Status:  closed
       Priority:  normal        |  Milestone:
      Component:  Compiler      |    Version:  5.04
     Resolution:  Rejected      |   Keywords:
Type of failure:  None/Unknown  |
--------------------------------+---------------------
Changes (by Simon Peyton Jones <simonpj@…>):

 * failure:   => None/Unknown


Comment:

 In [changeset:"411a97e2c0083529b4259d0cad8f453bae110dee/ghc" 411a97e/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="411a97e2c0083529b4259d0cad8f453bae110dee"
 Allow as-patterns in unidirectional patttern synonyms

 This patch implements GHC Proposal #94, described here
    https://github.com/ghc-proposals/ghc-proposals/pull/94

 The effect is simply to lift a totally-undocumented restriction to
 unidirecional pattern synonyms, namely that they can't have as-patterns
 or n+k patterns.

 The fix is easy: just remove the checks.

 I also took the opportunity to improve the manual entry for
 the semantics of pattern matching for pattern synonyms.
 }}}

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


More information about the ghc-tickets mailing list