[GHC] #14138: Friend modules

#14138: Friend modules -------------------------------------+------------------------------------- Reporter: andreas.abel | Owner: (none) Type: feature | Status: new request | Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- For the sake of testing, I would like to import everything from a module that I test, not only the things it exports. {{{#!hs friend import A -- everything from A friend import B (notExported) -- notExported from B friend import qualified C.D as E -- you guess it ... }}} Current work arounds: * Give up on export lists (ruins haddockumentation) * Extra levels of indirection, see https://mail.haskell.org/pipermail/beginners/2010-November/005717.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14138 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14138: Friend modules -------------------------------------+------------------------------------- Reporter: andreas.abel | Owner: (none) Type: feature request | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: invalid | 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: | -------------------------------------+------------------------------------- Changes (by goldfire): * status: new => closed * resolution: => invalid Comment: I, too, have wanted this. I encourage you to make a [https://github.com /ghc-proposals/ghc-proposals ghc-proposal] with this idea, as that forum is now the community-agreed-upon mechanism for introducing new features into GHC. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14138#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC