-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Question] nesting prefixes #43
Comments
Thank you for reporting this. I think you are right. Nesting itself wouldn't be too bad (IMO), but I think the result would be that of the outer prefix instead of a proper composition/multiplication of the prefixes. Example:
What do you think? |
I definitely agree that if 2 is the case, it should be fixed. I also think that either 1 or 3 are fine, but I'm leaning towards disallowing it completely since I think it's very unlikely that one would be writing that on purpose and that it's likely to be a mistake (I welcome any invalidating examples). Of course, the expression you provided should still be possible to resolve to |
I just checked that |
Yes, that sounds good to me. |
From the types of "prefix" functions (e.g.
mega
) it seems like I can "nest" prefixes like so:kilo (mega gram)
. Is this intended, and if not, are there any safeguards against that?The text was updated successfully, but these errors were encountered: