[GHC] #9900: Support pattern synonyms in GHCi

GHC ghc-devs at haskell.org
Sun Dec 28 11:39:58 UTC 2014


#9900: Support pattern synonyms in GHCi
-------------------------------------+-------------------------------------
              Reporter:  cactus      |            Owner:  cactus
                  Type:  bug         |           Status:  patch
              Priority:  normal      |        Milestone:  7.10.1
             Component:  GHCi        |          Version:  7.8.3
            Resolution:              |         Keywords:  PatternSynonyms
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  GHC         |       Blocked By:  9915
  rejects valid program              |  Related Tickets:  #8749, #7253
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Dr. ERDI Gergo <gergo@…>):

 In [changeset:"0cc0cc8688ddb53db65a73d7d562e9564cfad22b/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="0cc0cc8688ddb53db65a73d7d562e9564cfad22b"
 Support pattern synonyms in GHCi (fixes #9900)

 This involves recognizing lines starting with `"pattern "` as
 declarations,
 keeping non-exported pattern synonyms in `deSugar`, and including
 pattern synonyms in the result of `hscDeclsWithLocation`.
 }}}

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


More information about the ghc-tickets mailing list