Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-24 | Introduce 'Usage' structure. | defanor | |
Produce it with 'argHelper' first, then translate into a string -- so that it can be reused for other kinds of output, such as roff and texinfo. | |||
2017-12-24 | Update the example | defanor | |
2017-12-20 | Remove Coalpit.IO | defanor | |
Better to focus on printing and parsing here, at least for now; besides, pipes are nice, but some may prefer other methods. The code is moved into an example instead. | |||
2017-12-20 | Add Coalpit.IO | defanor | |
2017-12-20 | Prepare for IO | defanor | |
DSV functions operate on individual lines now, unit type gets printed/parsed as nothing (handier for argument parsing to set '()' when there's none, and that's what it should be anyway). | |||
2017-12-19 | Reorganize the modules | defanor | |
2017-12-17 | Add DSV support | defanor | |
2017-12-16 | Add the 'handleRecCon' function | defanor | |
Abstract the code with it. | |||
2017-12-16 | Add more instances | defanor | |
2017-12-16 | Move parsing helpers into Coalpit.Parsing | defanor | |
2017-12-16 | Update documentation | defanor | |
2017-12-16 | Add more instances | defanor | |
Numeric and date/time types. | |||
2017-12-16 | Refactor | defanor | |
- Unify the naming - Merge all the classes into one | |||
2017-12-16 | Generate usage strings for help messages | defanor | |
2017-12-04 | Introduce the omitNamedOptions option | defanor | |
It is nice to omit them, but may lead to ambiguity -- so better to provide a safer option. | |||
2017-12-04 | Produce prettier error messages | defanor | |
2017-12-04 | Add an example into haddock documentation | defanor | |
2017-12-04 | Be more strict on record selector name parsing | defanor | |
Ambiguity is possible if the parser accepts those optionally, so it should accept them depending on the provided options. | |||
2017-12-04 | Make record selectors for mandatory arguments optional | defanor | |
2017-12-03 | Add more instances | defanor | |
2017-12-03 | Refactor | defanor | |
Add annotations, fix -Wall warnings, lint, etc. | |||
2017-12-03 | Add tests | defanor | |
2017-12-03 | Add List and Either instances | defanor | |
No special handling for those yet, just for testing. | |||
2017-12-03 | Parse lists of strings, not just strings | defanor | |
Because arguments are lists of strings. | |||
2017-12-03 | Add argument name modifiers | defanor | |
2017-12-03 | Omit constructor names, unless those are in sums | defanor | |
2017-12-02 | Add special handling for named Maybe values | defanor | |
Allow to omit named options. | |||
2017-12-02 | Use GHC.Generics instead of TH | defanor | |
It's considerably cleaner and simpler with GHC.Generics. Megaparsec is also used now. | |||
2016-11-25 | Initial commit | defanor | |