-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
isreal
does not work in type domain
#56684
Comments
I guess because the docstring does not indicate this as a valid usage. I think there is extremely little precedent for functions that operate like this. We already have |
I would argue that Again, not a big issue, just wanted to bring it up. |
If anything, I'd expect that julia> isreal(complex(1))
true from which we should infer |
Ah, I never thought about that, that's a very good counterargument. Thanks for explaining! |
There is something that I ran into this week, which somehow was unexpected to me. While
real
andcomplex
work in the type domain,isreal
does not. I can see why this would be the case, but it's also not super intuitive that it does not work.The text was updated successfully, but these errors were encountered: