-
Notifications
You must be signed in to change notification settings - Fork 1
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 assume!
to assume
#12
Comments
Unlike It's a bit like |
I like having a simple rule with a specific universal documented meaning so authors can use it to communicate properties of a function simply and precisely to their users. Unfortunately the current "convention" doesn't follow the rule quoted above; it's subjective, as seen in idiosyncrasies like Anyway that's just my personal rant, not your problem. Feel free to close this if you like. |
I'll do a small export-audit of everything that I consider API before registering, so I'll take a look at this then. |
Alright, I've reworked the exposed API. Everything now consistently uses |
https://docs.julialang.org/en/v1/manual/style-guide/#bang-convention gives the convention
Since
assume!(::Bool)
doesn't modify its arguments I suspect it should beassume(::Bool)
.The text was updated successfully, but these errors were encountered: