mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-08-15 14:50:42 +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
|