-
Notifications
You must be signed in to change notification settings - Fork 263
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
functional if
, ==
, in
, *
, assert
#472
Comments
if
, ==
and in
, *
, assert
if
, ==
, in
, *
, assert
Your EDIT: The |
Had no idea. Can they be documented somehow?
e.g.
without
|
By the way Since I'm already here: I suggest renaming - return (
- f_true(*args, **kwargs)
- if condition(*args, **kwargs)
- else f_false(*args, **kwargs)
- )
+ if condition(*args, **kwargs):
+ return f_true(*args, **kwargs)
+ else:
+ return f_false(*args, **kwargs) |
@mentalisttraceur this thread is 3 years old, we've since implemented these and many others in |
Yeah I know how to read timestamps. If it stopped being relevant and you didn't want replies anymore, you had three years to communicate that by closing this issue and/or making that comment. |
|
@mentalisttraceur yes. so glad you liked it! |
I find myself needing these extras to replace python operators that don't work well within pipelines. If maintainers would like I can submit a pull request.
The text was updated successfully, but these errors were encountered: