Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

What's the reasoning behind hiding GHC.* modules? #2

Closed
wh5a opened this issue Mar 12, 2010 · 5 comments
Closed

What's the reasoning behind hiding GHC.* modules? #2

wh5a opened this issue Mar 12, 2010 · 5 comments

Comments

@wh5a
Copy link

wh5a commented Mar 12, 2010

Hiding is done in the exposedModules function. Why?

@kazu-yamamoto
Copy link
Collaborator

I designed that ghc-mod is a just commad. All files are not library at this moment. Do you want them to be libraries? If so, please fork and show me how the .hs files should be.

@wh5a
Copy link
Author

wh5a commented Mar 12, 2010

I am using ghc-mod as a command. I don't understand why you're hiding GHC.* modules from the output of ghc-mod list. In my opinion, they're exposed modules, so why hide them? Do you think they're internal modules so we should avoid importing them?

@kazu-yamamoto
Copy link
Collaborator

Ah! This is because many Haskell programmers does not import GHC.*. Since the number of them is many, I feel they are noisy...

@wh5a
Copy link
Author

wh5a commented Mar 12, 2010

Fair enough. Feel free to close this issue :)

@kazu-yamamoto
Copy link
Collaborator

GHC modules are not not filtered.

robrix pushed a commit to robrix/ghc-mod that referenced this issue Aug 19, 2017
Generalized getTypecheckedModuleGhc
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants