Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1787

Making `@variadic` work with a dynamically generated array arg

$
0
0

@variadic works with dynamic array arg, that’s actually why Caml_splice_call.spliceApply is used.

If you select v12 you’ll notice it now compiles to a cleaner:

Path.join(...args2)

Playground link


Viewing all articles
Browse latest Browse all 1787

Trending Articles