[GHC] #11610: Remove IEThingAll constructor from IE datatype

GHC ghc-devs at haskell.org
Mon Feb 29 17:59:36 UTC 2016


#11610: Remove IEThingAll constructor from IE datatype
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      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 mpickering):

 Yes,

 Today you can write

 {{{#!hs
 {-# LANGUAGE PatternSynonyms #-}

 module Foo(T(.., P)) where

 data T = T

 pattern P :: T
 pattern P = T
 }}}

 which is documented here -
 http://downloads.haskell.org/~ghc/8.0.1-rc2/docs/html/users_guide/glasgow_exts.html
 #import-and-export-of-pattern-synonyms

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


More information about the ghc-tickets mailing list