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

named args for default predicate, custom predicates and dispatch targets #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewGarson
Copy link
Contributor

added ability to name arguments for defmulti and defmethod lambdas (predicates and targets). If you want a single varargs list contains all of the args, you must splat it like any other function. Handles optional args on methods used as dispatch targets. Should handle varargs used as not the last parameter to a method, as is allowed in 1.9.2, but I am not sure how to test that and still have the tests runnable under 1.8.7.

…redicates and targets). If you want a single varargs list contains all of the args, you must splat it like any other function. Handles optional args on methods used as dispatch targets. Should handle varargs used as not the last parameter to a method, as is allowed in 1.9.2, but I am not sure how to test that and still have the tests runnable under 1.8.7.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant