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

Support non-trivial lambdas in Scala-style rendering format #384

Open
neko-kai opened this issue Apr 10, 2023 · 5 comments · May be fixed by #490
Open

Support non-trivial lambdas in Scala-style rendering format #384

neko-kai opened this issue Apr 10, 2023 · 5 comments · May be fixed by #490
Labels
💎 Bounty enhancement New feature or request good first issue Good for newcomers

Comments

@neko-kai
Copy link
Member

In current implementation of LightTypeTag#scalaStyledName it's impossible to distinguish [A, B] =>> Either[A, B] and [A, B] =>> Either[B, A] lambdas since they both end up printed as Either[_, _].

To fix this, we should add a check for whether it's correct to use _-placeholders when printing a lambda - it's only correct when all lambda parameters are applied and in the same order as they were declared. If not, we should print a long lambda form such as [A, B] =>> Either[A, B].

/cc @Ivoyaa

@neko-kai neko-kai added the good first issue Good for newcomers label Apr 10, 2023
@jdegoes
Copy link
Member

jdegoes commented Nov 8, 2024

/bounty $150

Copy link

algora-pbc bot commented Nov 8, 2024

💎 $150 bounty • ZIO

Steps to solve:

  1. Start working: Comment /attempt #384 with your implementation plan
  2. Submit work: Create a pull request including /claim #384 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to zio/izumi-reflect!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🔴 @varshith257 Nov 8, 2024, 9:50:13 PM WIP

@varshith257
Copy link

varshith257 commented Nov 8, 2024

/attempt #384

Algora profile Completed bounties Tech Active attempts Options
@varshith257    5 ZIO bounties
+ 14 bounties from 9 projects
Rust, Go,
Scala & more
﹟9272, ﹟9189
Cancel attempt

@pshirshov pshirshov added the enhancement New feature or request label Nov 11, 2024
Copy link

algora-pbc bot commented Nov 15, 2024

@varshith257: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏

Copy link

algora-pbc bot commented Nov 22, 2024

The bounty is up for grabs! Everyone is welcome to /attempt #384 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants