mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-08-15 14:50:42 +03:00
23 lines
281 B
Plaintext
23 lines
281 B
Plaintext
---
|
|
source: tests/golden_tests.rs
|
|
input_file: tests/golden_tests/compile_file/redex_order.bend
|
|
---
|
|
@a = (a a)
|
|
|
|
@b = (a a)
|
|
|
|
@c = (a a)
|
|
|
|
@foo = (a d)
|
|
& @a ~ (c d)
|
|
& @b ~ (b c)
|
|
& @c ~ (a b)
|
|
|
|
@foo2 = c
|
|
& @a ~ (b c)
|
|
& @b ~ (a b)
|
|
& @c ~ (0 a)
|
|
|
|
@main = a
|
|
& @foo ~ (@foo2 a)
|