Skip to content
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

Add helper function operator.create_filter() #18

Open
fishroot opened this issue Feb 9, 2019 · 0 comments
Open

Add helper function operator.create_filter() #18

fishroot opened this issue Feb 9, 2019 · 0 comments

Comments

@fishroot
Copy link
Member

fishroot commented Feb 9, 2019

From @fishroot on December 17, 2018 7:41

e.g.

p1 = lambda seq: seq[0] > seq[1]
p2 = lambda seq: isinstance(seq[2], str)
op = operator.create_filter(p1, p2)

Copied from original issue: frootlab/rian#573

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant