phischu / haskell-modules

Extract real Haskell module files
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

More reliably extract module names from command line arguments #2

Closed phischu closed 9 years ago

phischu commented 9 years ago

We currently take those command line arguments that start with an upper case letter as module names. This breaks down as soon as there is a package that starts with an upper case letter.

phischu commented 9 years ago

We can reverse-engineer GHC command line parsing with docopt. Or use the more lightweight option from base.