Bend/tests/snapshots/cli__desugar_float_combinators.bend.snap

14 lines
244 B
Plaintext
Raw Permalink Normal View History

2024-03-06 16:58:53 +03:00
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/cli/desugar_float_combinators.bend
2024-03-06 16:58:53 +03:00
---
(Z) = λ* λa a
2024-03-06 16:58:53 +03:00
(S) = λa λb let {c d} = b; λe (c (a d e))
2024-03-06 16:58:53 +03:00
2024-04-26 23:38:20 +03:00
(get) = λa (a get__C0 0)
2024-03-06 16:58:53 +03:00
(main) = (get (S (S Z)))
2024-03-06 16:58:53 +03:00
2024-04-26 23:38:20 +03:00
(get__C0) = λa (+ a 1)