This website requires JavaScript.
Explore
Help
Sign In
tweag
/
nickel
Watch
1
Star
1
Fork
0
You've already forked nickel
mirror of
https://github.com/tweag/nickel.git
synced
2024-10-06 08:07:37 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
d3f7192c4e
nickel
/
tests
/
destructuring
/
fun.ncl
3 lines
88 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Apply suggestions from code review fix comments typo and nickel syntax cleaning Co-authored-by: Yann Hamdaoui <yann.hamdaoui@gmail.com>
2022-01-12 19:50:12 +03:00
let f = fun x@{a, b} {c=d, ..} => a - x.a + b - x.b + d in
Test fun destructuring
2022-01-11 19:10:29 +03:00
f {a=1, b=2} {c=3, d=4} == 3
Reference in New Issue
Copy Permalink