You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you use . within a function call, that call gets wrapped in a one-argument function and . gets replaced by that argument
It looks like what actually happens is that . lifts outside the entire CallExpression, no matter how long it is. For example:
Input
f(a)(b)(.)(c)(d)
Current Output
$=>f(a)(b)($)(c)(d)
Expected Output
($=>f(a)(b)($))(c)(d)
I think. The idea is that this expression should be treated as a tree of applications, and this is what you get if you lift the . just above its own application.
The docs define
.
placeholders as follows:It looks like what actually happens is that
.
lifts outside the entireCallExpression
, no matter how long it is. For example:Input
Current Output
Expected Output
I think. The idea is that this expression should be treated as a tree of applications, and this is what you get if you lift the
.
just above its own application.#837 (comment) gives a real-world example.
The text was updated successfully, but these errors were encountered: