1
1
mirror of https://github.com/tweag/nickel.git synced 2024-10-04 23:27:15 +03:00
nickel/tests/destructuring/fun.ncl
francois-caddet b83a4bb165
Apply suggestions from code review
fix comments typo and nickel syntax cleaning

Co-authored-by: Yann Hamdaoui <yann.hamdaoui@gmail.com>
2022-01-12 17:50:12 +01:00

3 lines
88 B
Plaintext

let f = fun x@{a, b} {c=d, ..} => a - x.a + b - x.b + d in
f {a=1, b=2} {c=3, d=4} == 3