Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export all internal functions in Distribution.Simple.Utils in .Internal module #5757

Open
nh2 opened this issue Dec 1, 2018 · 1 comment

Comments

@nh2
Copy link
Member

nh2 commented Dec 1, 2018

Trying to work around #5756 in my Cabal hook, I can't easily make a

noticeSay :: Verbosity -> Text -> IO ()

using say because lots of functions used inside notice aren't exported.

Now I have to copy-paste many functions from that module in order to do it; this is wasting a lot of time to get simple things done.

Cabal should export all the useful functions that aren't public API in an .Internal module, so that people can use that to work around problems until things get fixed upstream.

@23Skidoo
Copy link
Member

23Skidoo commented Dec 1, 2018

Fine. Do you need this in the 2.4 branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants