We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Float
int
int ducktypes to float, whacky alert!, add a Float type that doesn't ducktype.
float
def foo(f: Float): ... foo(1) # invalid
The text was updated successfully, but these errors were encountered:
TrueFloat
What about a protocol of int | float?
int | float
Sorry, something went wrong.
#167 wins
No branches or pull requests
int
ducktypes tofloat
, whacky alert!, add aFloat
type that doesn't ducktype.The text was updated successfully, but these errors were encountered: