Cristiano Calcagno
Cristiano Calcagno
Likely place to start from: https://github.com/rescript-lang/rescript-compiler/pull/6131
@hackwaly @TheSpyder how does this look? https://github.com/rescript-lang/rescript-compiler/pull/6907
Improved the PR, now it simply omits the problematic assignment without reverting to using a spurious parameter in the case of recursive functions.
> The JS certainly looks good! I didn't realise there was broken code in the expected test output 😂 That happens often. There are so many old and forgotten tests,...
A unary curried function that returns a unary curried function is what's called a binary curried function. With uncurried, a binary function is another thing. So curried and uncurried are...
This becomes non-existent in V12. OK to close?
One produces an `if` and the other produces a `switch`. One could consider finding where the if optimisation is applied, and port it to the other case as well. Perhaps...
This has to do with the compiler's ppx which transforms `|>` and `->`. The priority is unclear, since `|>` will go away (and is now reformatted away), but it is...
I guess this will indirectly fix the issue? https://github.com/rescript-lang/rescript-compiler/pull/6102