[GHC] #10270: inconsistent semantics of type class instance visibility outside recursive modules

GHC ghc-devs at haskell.org
Wed Apr 8 21:22:55 UTC 2015


#10270: inconsistent semantics of type class instance visibility outside recursive
modules
-------------------------------------+-------------------------------------
        Reporter:  skilpat           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  MacOS X           |            Architecture:  x86_64
 Type of failure:  GHC rejects       |  (amd64)
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #9562             |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I rather agree that the one-shot story is the right one.  And yes, the two
 should agree.

 Edward I recall that we had extensive discussion about how to arrange that
 the right instances are in scope.  We had a New Plan; but (a) I have
 forgotten the plan and (b) I'm not sure whether it was ever implemented.
 Can you remind me?

 Simon

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


More information about the ghc-tickets mailing list