paf31 / purescript-yargs

PureScript bindings for the yargs command-line parsing library
MIT License
17 stars 12 forks source link

Export `Y` constructor #13

Open 13h3r opened 7 years ago

13h3r commented 7 years ago

I would like to write my own instances for Arg. To do this I need to create instances of Y, but Y constructor is not exported. Is it any reason to not export it and if yes how it is supposed to implement custom Arg instances?

paf31 commented 7 years ago

I'd rather add a smart constructor than export the constructor.