Bend/tests/snapshots/encode_pattern_match__list_str_encoding_undeclared_fn.bend.snap
2024-05-20 14:47:50 +02:00

18 lines
339 B
Plaintext

---
source: tests/golden_tests.rs
input_file: tests/golden_tests/encode_pattern_match/list_str_encoding_undeclared_fn.bend
---
Scott
(main) = *
(Foo) = λa (a 0 λ* λ* 1)
(Bar) = λa (a 1 λ* λ* 0)
NumScott
(main) = *
(Foo) = λa (a λb switch b { 0: 0; _: λ* λ* λ* 1; })
(Bar) = λa (a λb switch b { 0: 1; _: λ* λ* λ* 0; })