Skip to content

Add new type challenge based on scala's tupled function #130

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stewartHutchins
Copy link
Contributor

I was playing with Python the other day, I tried to implement Scala's "tupled" function.

I thought it had some potential to make a good type challenge.

I think the TODO comment at the top might need some additional clarification.

@stewartHutchins stewartHutchins force-pushed the new-type-challenge-tupled branch from 912e594 to 8d85844 Compare June 6, 2025 21:21
@stewartHutchins
Copy link
Contributor Author

I have just noticed that adding a return type to the function signature is optional - I imagine this is a problem :/
as such I'm converting this to a draft

@stewartHutchins stewartHutchins marked this pull request as draft June 6, 2025 22:48
"""
TODO:

Define an "tupled" function that accepts a function and returns a function with some arguments in the form of a tuple.
Copy link
Owner

Choose a reason for hiding this comment

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

The description is not so clear on what it expects user to do, and why
I'd suggest give it an example or put it in a more practical scene

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