Bend/tests/snapshots/encode_pattern_match__box.bend.snap
2024-05-27 15:09:23 -03:00

16 lines
275 B
Plaintext

---
source: tests/golden_tests.rs
input_file: tests/golden_tests/encode_pattern_match/box.bend
---
Scott
(unbox) = λa (a λb b)
(box/new) = λa λb (b a)
NumScott
(unbox) = λa (a λb switch b { 0: λc c; _: *; })
(box/new) = λa λb (b box/new/tag a)
(box/new/tag) = 0