[GHC] #11164: No way to import a data instance

GHC ghc-devs at haskell.org
Fri Dec 4 15:08:48 UTC 2015


#11164: No way to import a data instance
-------------------------------------+-------------------------------------
        Reporter:  Feuerbach         |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      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 simonpj):

 > Would it be better to have this rule?
 > * Whenever a module omits an export list, if that module declares and
 data instances, the data family is also (re-)exported.

 Yes I agree with this.  Would someone like to execute?

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


More information about the ghc-tickets mailing list