parsley icon indicating copy to clipboard operation
parsley copied to clipboard

Curried Chains

Open j-mie6 opened this issue 1 year ago • 0 comments

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 avatar Feb 11 '23 22:02 j-mie6