-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
More number types #69
Comments
What about Possibly a generic range type as well? |
What's the use case for Generic types would be nice but are currently an unsupported feature. #50 could provide a means for a developer to implement generic-like arguments, though. |
@evaera Can't you combine types? I think I've seen it in the teleport command, although I suspect the |
Those are Prefixed Union Types. Actual union types might be too complex to support in this version of Cmdr. |
Maybe |
natural
, which would be a subset of the currentinteger
type, would allow numbers in the range0..n
.positive
, which would be a subset ofnatural
, would allow the range1..n
byte
, which would allow the range0..255
.digit
, which would allow the range0..9
.The text was updated successfully, but these errors were encountered: