Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Adding find-fn-for-pred #2

wants to merge 1 commit into


None yet
1 participant

There are times when I want to find a fn that returns a value that matches a predicate other than equality ("find a fn that returns an empty seq (of any type)" or "find a fn that returns something that implements this protocol").

This adds a function called find-fn-for-pred (any suggestions on a name?) that takes a predicate rather than a value for the out, and re-implements find-fn using this new function.

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