We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Instead of using the @bs attribute in the parser/printer followed by a PPX in the compiler: use the direct encoding.
@bs
// type t0 = (.) => int type t0 = Js.Fn.arity0<int> // let f0: t0 = (.) => 3 let f0: t0 = {Js.Fn.\"I0": () => 3} // type t1 = (.int) => int type t1 = Js.Fn.arity1<int => int> // let f1: t1 = (.z) => z+1 let f1: t1 = {Js.Fn.\"I1": z => z + 1}
The text was updated successfully, but these errors were encountered:
.
Process uncurried types explicity.
98cea4f
Produce directly `Js.Fn.arityn` instead of a `@bs` annotation. See https://github.com/rescript-lang/syntax/issues/716
note the direct encoding would not trigger any regression. so that we can add the direct encoding first and remove the ppx later (if needed)
Sorry, something went wrong.
No branches or pull requests
Instead of using the
@bs
attribute in the parser/printer followed by a PPX in the compiler: use the direct encoding.The text was updated successfully, but these errors were encountered: