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

Alikeness of Functions #35

Open
brodieG opened this issue Jun 12, 2017 · 0 comments
Open

Alikeness of Functions #35

brodieG opened this issue Jun 12, 2017 · 0 comments
Labels
Milestone

Comments

@brodieG
Copy link
Owner

@brodieG brodieG commented Jun 12, 2017

Currently signature is required to be a possible generic to a method. In the future we might relax that or at least provide a mode that allows a more relaxed fit.

This all came from the valaddin example where we wanted to add checks that we ensured would lead to two argument functions, but they failed because the function arguments were incorrect.

Thinking about it further it seems that a function should be able to be called with the argument specified, so the # of arguments only deal probably is not a good idea. We could however provide a special object along the lines of elist and vlist being considered in #29 that would vet purely the number of arguments.

@brodieG brodieG added the question label Jun 12, 2017
@brodieG brodieG added this to the 0.2.0 milestone Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.