mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 03:45:29 +03:00
26 lines
378 B
Plaintext
26 lines
378 B
Plaintext
---
|
|
source: tests/golden_tests.rs
|
|
input_file: tests/golden_tests/encode_pattern_match/var_only.bend
|
|
---
|
|
Scott
|
|
(Foo) = λa λ* λc (c a)
|
|
|
|
(main) = λ* Foo
|
|
|
|
(Bool/False) = λa λ* a
|
|
|
|
(Bool/True) = λ* λb b
|
|
|
|
NumScott
|
|
(Foo) = λa λ* λc (c a)
|
|
|
|
(main) = λ* Foo
|
|
|
|
(Bool/False) = λa (a Bool/False/tag)
|
|
|
|
(Bool/True) = λa (a Bool/True/tag)
|
|
|
|
(Bool/False/tag) = 0
|
|
|
|
(Bool/True/tag) = 1
|