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
We've found a bug for you!
OCaml preview 2:15
This is an uncurried BuckleScript function. It must be applied with a dot.
Like this: foo(. a, b)
Not like this: foo(a, b)
This guarantees that your function is fully applied. More info here:
https://bucklescript.github.io/docs/en/function.html#solution-guaranteed-uncurrying
As we are placing more emphasis on uncurried syntax in BuckleScript, I think it makes sense to have the pipe-first operator work with uncurried functions as well.
The text was updated successfully, but these errors were encountered:
Currently, this:
Does not work, with the error:
As we are placing more emphasis on uncurried syntax in BuckleScript, I think it makes sense to have the pipe-first operator work with uncurried functions as well.
The text was updated successfully, but these errors were encountered: