mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-10-26 05:50:18 +03:00
18 lines
353 B
Plaintext
18 lines
353 B
Plaintext
---
|
||
source: tests/golden_tests.rs
|
||
input_file: tests/golden_tests/cli/desugar_pretty.bend
|
||
---
|
||
[4m[1m[33mWarnings:[0m
|
||
[1mIn definition '[4mFoo[0m[1m':[0m
|
||
Definition is unused.
|
||
|
||
(Foo) =
|
||
λa λb let (c, d) = a;
|
||
let (e, f) = b;
|
||
(+ (+ c d) (+ e f))
|
||
|
||
(main) =
|
||
λpat%a let (a, b) = pat%a;
|
||
λpat%b let {c d *} = pat%b;
|
||
(+ (+ a b) (+ c d))
|