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

Defpartial for zero arity #46

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

florius0
Copy link

Summary

This PR fixes a compilation error, when defcurry or defpartial are declared as zero-arity functions without parentheses: defcurry f, do: 1 and defpartial f, do: 1 respectively.

Test plan (required)

Corresponding tests are implemented and passing

Closing issues

Fixes #45

After Merge

  • Does this change invalidate any docs or tutorials? If so ensure the changes needed are either made or recorded
  • Does this change require a release to be made? Is so please create and deploy the release

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.

defpartial and defcurry do not support zero arity functions without parentheses
1 participant