mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 03:45:29 +03:00
22 lines
350 B
Plaintext
22 lines
350 B
Plaintext
---
|
|
source: tests/golden_tests.rs
|
|
input_file: tests/golden_tests/desugar_file/deref_loop.bend
|
|
---
|
|
(foo) = λa (a foo__C1)
|
|
|
|
(bar) = (foo 1)
|
|
|
|
(main) = (foo 0)
|
|
|
|
(nat/succ) = λa λb (b nat/succ/tag a)
|
|
|
|
(nat/zero) = λa (a nat/zero/tag)
|
|
|
|
(nat/succ/tag) = 0
|
|
|
|
(nat/zero/tag) = 1
|
|
|
|
(foo__C0) = λ* (bar 0)
|
|
|
|
(foo__C1) = λa switch a { 0: λb b; _: foo__C0; }
|