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

Rename class Arity to Range #131

Closed
remkop opened this issue May 28, 2017 · 0 comments
Closed

Rename class Arity to Range #131

remkop opened this issue May 28, 2017 · 0 comments

Comments

@remkop
Copy link
Owner

remkop commented May 28, 2017

This type is currently used to model

  • arity of an option or positional parameter: how many consecutive command line args does this field consume?
  • index of positional parameters: which of the command line args should be mapped to/consumed by the field for this positional parameter

In the second usage it is confusing to work with Arity objects when we want to express a range.

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

1 participant