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 an Apply function for partial application #818

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

bash
Copy link
Member

@bash bash commented Jan 24, 2025

This PR takes the ideas from #702 and implements them using a source-generator.
I went with 4 maximum parameters for now. Adding more just explodes the number of overloads :)

@bash bash enabled auto-merge January 24, 2025 12:46
@bash bash requested a review from FreeApophis January 24, 2025 12:56
@bash bash force-pushed the discard-apply-source-gen branch from cac1645 to 2a56281 Compare January 27, 2025 14:08
@bash bash force-pushed the discard-apply-source-gen branch from 2a56281 to 09b3ba1 Compare January 27, 2025 14:19
@bash bash merged commit 8abe1ac into main Jan 28, 2025
9 checks passed
@bash bash deleted the discard-apply-source-gen branch January 28, 2025 08:10
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.

2 participants