runParser can't be called #60

Closed
liyang opened this Issue Nov 19, 2013 · 9 comments

Comments

Projects
None yet
4 participants

liyang commented Nov 19, 2013

Due to ArgPolicy not being exported, in the latest Hackage version (0.7.0.2) as well as HEAD. I'm not sure if it ought to be exported, so not filing a merge request.

PS: nor is type Args = [String].

Owner

pcapriotti commented Nov 19, 2013

Some of those types and functions should probably be moved to the Internal module and exported from there. I'll have a look.

Given that ArgPolicy is now exported in HEAD, is there any reason runParser is no longer exported from the Common module?

Owner

pcapriotti commented Feb 10, 2014

Definitely not. Thanks for pointing that out.

pcapriotti reopened this Feb 10, 2014

Thanks!

pxqr commented Feb 24, 2014

Is it still impossible to runParser because runP is not exported anywhere, or I missing something?

Owner

pcapriotti commented Mar 16, 2014

It's exported from Options.Applicative.Internal.

pxqr commented Mar 16, 2014

Yes, but the Internal module is not exposed in the HEAD. Which one module should I import to bring runP in scope?

Owner

pcapriotti commented Mar 16, 2014

Oh, I didn't realise it wasn't exposed, sorry. I should probably just expose it.

pcapriotti reopened this Mar 16, 2014

pxqr commented Mar 16, 2014

Thanks!

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