-
-
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
Should ==
over ComposedFunction
support missing
as usual
#54881
Comments
please, no I think Imo it already propagates through far too many functions. |
For better or worse, the ternary logic including |
wait, why does I'd sooner special case an error path for |
If
|
I don't think so, julia> missing && true
ERROR: TypeError: non-boolean (Missing) used in boolean context
Stacktrace: |
Ah yeah, I don't like the idea of introducing a special case error specifically to make sure If a user wants to create a collection of callables, some of which some are missing, and then |
The current behavior is:
But it seems like we should actually have
==
returnmissing
in this case? This is becausemissing
basically represents a wildcard function here, the way I interpret it at least. This would be analogous to, e.g.:This is a special case to consider for #53853.
Not sure if I should label this for triage, but it'd be nice to get a quick decision here, given that it's relevant to @jw3126's PR #54877.
The text was updated successfully, but these errors were encountered: