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

Bounded on enumerated types #255

Closed
HuwCampbell opened this issue Nov 23, 2015 · 1 comment
Closed

Bounded on enumerated types #255

HuwCampbell opened this issue Nov 23, 2015 · 1 comment
Assignees

Comments

@HuwCampbell
Copy link

This is a bit bikesheddy, but it might be nice to have Bounded instances on the types with FromText and Enum, that way it's easy to enumerate them all in help texts or command line completers and the like with [minBound .. maxBound]

@brendanhay brendanhay self-assigned this Nov 23, 2015
@brendanhay
Copy link
Owner

Sure, makes sense. I'll add it shortly.

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

2 participants