mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-08-15 14:50:42 +03:00
12 lines
289 B
Plaintext
12 lines
289 B
Plaintext
---
|
|
source: tests/golden_tests.rs
|
|
input_file: tests/golden_tests/simplify_matches/adt_tup_era.bend
|
|
---
|
|
(Foo) = λa match a { Tuple/Pair b c: (match b { Tuple/Pair d e: λf d; } c); }
|
|
|
|
(Main) = (Foo (Tuple/Pair 1 5))
|
|
|
|
(Tuple/Pair) = λa λb λc (c Tuple/Pair/tag a b)
|
|
|
|
(Tuple/Pair/tag) = 0
|