Bend/tests/snapshots/encode_pattern_match__non_matching_fst_arg.bend.snap

22 lines
453 B
Plaintext
Raw Normal View History

2023-11-29 20:45:52 +03:00
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/encode_pattern_match/non_matching_fst_arg.bend
2023-11-29 20:45:52 +03:00
---
Scott
(Foo) = λa λb (b λc let {c c_2} = c; (Foo c c_2) λd d a)
2024-05-10 22:42:32 +03:00
(bool/true) = λa λ* a
2024-03-19 20:37:30 +03:00
2024-05-10 22:42:32 +03:00
(bool/false) = λ* λb b
NumScott
(Foo) = λa λb (b λc switch c { 0: λd let {d d_2} = d; (Foo d d_2); _: λ* λe e; } a)
(bool/true) = λa (a bool/true/tag)
(bool/false) = λa (a bool/false/tag)
(bool/true/tag) = 0
(bool/false/tag) = 1