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

#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 Feuerbach): Sorry, I wasn't clear. I am puzzled by the fact that in a bare ghci session, without importing any additional modules except Prelude, 1) The type `IO` is available under the name `GHC.IO.IO` 2) The data constructor `GHC.IO.IO` is in scope In ordinary Haskell, you'd need to `import GHC.IO` for that to be the case. Hence my question. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7261#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC