Skip to content

Commit 8144467

Browse files
committed
tweak example
1 parent fc91322 commit 8144467

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

jscomp/test/uncurried_default.args.js

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jscomp/test/uncurried_default.args.res

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ open StandardNotation
1818

1919
let withOpt = (~x=1, y) => (~z=1, w) => x+y+z+w
2020
let testWithOpt = withOpt(3)(4)
21-
let partial = withOpt(~x=10)(3)(~z=4)(11)
2221
let total = withOpt(~x=10, 3)(~z=4, 11)
2322

2423
let foo1 = (~x=3, ~y) => x+y
2524
let r1 = foo1(~y=11)
2625

2726
let foo2 = (~y, ~x=3, ~z=4, ()) => x+y+z
28-
let r2 = foo2(~y=11)
27+
let r2 = foo2(~y=11, ...)
2928

3029
let foo3 = (~x=3, ~y=4, ()) => x+y
3130

0 commit comments

Comments
 (0)