Bend/tests/snapshots/compile_file_o_all__list_reverse.bend.snap

31 lines
641 B
Plaintext
Raw Permalink Normal View History

2024-01-19 17:02:22 +03:00
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file_o_all/list_reverse.bend
2024-01-19 17:02:22 +03:00
---
@concat = ((@concat__C1 a) a)
2024-03-21 15:11:16 +03:00
2024-04-23 13:44:01 +03:00
@concat__C0 = (a (b (c e)))
2024-05-10 23:39:06 +03:00
& @list/cons ~ (a (d e))
& @concat ~ (b (c d))
2024-04-22 20:03:56 +03:00
@concat__C1 = (?((@concat__C0 (* (a a))) b) b)
2024-05-10 22:42:32 +03:00
@list/cons = (a (b ((0 (a (b c))) c)))
@list/nil = ((1 a) a)
2024-03-21 15:11:16 +03:00
2024-04-18 18:42:28 +03:00
@main = d
& @reverse ~ (c d)
2024-05-10 22:42:32 +03:00
& @list/cons ~ (3 (b c))
& @list/cons ~ (2 (a b))
& @list/cons ~ (1 (@list/nil a))
2024-03-21 15:11:16 +03:00
@reverse = ((@reverse__C1 a) a)
2024-03-21 15:11:16 +03:00
2024-04-23 13:44:01 +03:00
@reverse__C0 = (c (a e))
2024-04-22 20:03:56 +03:00
& @concat ~ (b (d e))
& @reverse ~ (a b)
2024-05-10 22:42:32 +03:00
& @list/cons ~ (c (@list/nil d))
@reverse__C1 = (?((@reverse__C0 (* @list/nil)) a) a)