[GHC] #7261: ghci's :info and :browse break encapsulation

GHC cvs-ghc at haskell.org
Fri Apr 12 16:53:22 CEST 2013


#7261: ghci's :info and :browse break encapsulation
---------------------------------+------------------------------------------
    Reporter:  Feuerbach         |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:  _|_             
   Component:  GHCi              |     Version:  7.6.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  Other           
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by igloo):

 Note that `GHC.IO` exports the internals of the `IO` type:
 {{{
 module GHC.IO (
     IO(..), ...
 ...
 }}}

 Scope rules are defined in
 http://www.haskell.org/onlinereport/haskell2010/ (probably the `Modules`
 chapter in particular).

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



More information about the ghc-tickets mailing list