Skip to content

Comments

Currying#4

Merged
maxicot merged 3 commits intomasterfrom
currying
Nov 22, 2025
Merged

Currying#4
maxicot merged 3 commits intomasterfrom
currying

Conversation

@maxicot
Copy link
Owner

@maxicot maxicot commented Oct 25, 2025

  • Implement a currying function with support for *args
  • Implement an uncurrying function
  • Write tests

@maxicot maxicot requested a review from KubEF October 25, 2025 12:35
Comment on lines +11 to +12
if arity == 0:
return lambda: f()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Почему не просто return f?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Чтобы нельзя было передать лишних аргументов

@maxicot maxicot merged commit 3444feb into master Nov 22, 2025
1 check passed
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