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

Curried Chains #172

Open
j-mie6 opened this issue Feb 11, 2023 · 0 comments · May be fixed by #223
Open

Curried Chains #172

j-mie6 opened this issue Feb 11, 2023 · 0 comments · May be fixed by #223
Labels
enhancement New feature or request major This change would affect break backwards compatibility
Milestone

Comments

@j-mie6
Copy link
Owner

j-mie6 commented Feb 11, 2023

Is your feature request related to a problem? Please describe.
Chain combinators more often than might be expected require type ascriptions when used with regular lambdas. This is because there is no first bracket to fix the type of the chain.

Describe the solution you'd like
Use chain.x1(p)(op) instead of chain.x1(p, op), which will allow better inference on the op. Problem is, however, that the inference for infix.x1 will still not be great because of the B parameter.

@j-mie6 j-mie6 added enhancement New feature or request major This change would affect break backwards compatibility labels Feb 11, 2023
@j-mie6 j-mie6 added this to the Parsley 5 milestone Feb 11, 2023
j-mie6 added a commit that referenced this issue Jan 10, 2024
@j-mie6 j-mie6 linked a pull request Jan 10, 2024 that will close this issue
34 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request major This change would affect break backwards compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant