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

Generate hook method with required args #532

Merged
merged 1 commit into from Dec 19, 2020
Merged

Generate hook method with required args #532

merged 1 commit into from Dec 19, 2020

Conversation

soutaro
Copy link
Member

@soutaro soutaro commented Dec 19, 2020

This is to support using #curry.

It generates required parameters instead of putting everything to *args. A side-effect is it now raises the standard ArgumentError when required arguments are missing.

Fixes #445

This is to support using `#curry`.
@soutaro soutaro merged commit 067c357 into master Dec 19, 2020
@soutaro soutaro deleted the curry branch December 19, 2020 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Runtime type-check breaks with usage of curry
1 participant