mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-08-15 14:50:42 +03:00
24 lines
504 B
Plaintext
24 lines
504 B
Plaintext
---
|
|
source: tests/golden_tests.rs
|
|
input_file: tests/golden_tests/parse_file/multi_line_comment.bend
|
|
---
|
|
(X) = λ%arg0 λ%arg1 λ%arg2 use x = %arg2; x
|
|
|
|
(String/is_empty) = λ%arg0 use s = %arg0; match s = s { String/Nil: 1; String/Cons: 0; }
|
|
|
|
(main) = 0
|
|
|
|
(String/not_empty) = λ%arg0 use s = %arg0; match s = s { String/Nil: 0; String/Cons: 1; }
|
|
|
|
(Foo/Foo) = λfoo λ%x (%x Foo/Foo/tag foo)
|
|
|
|
(Bar) = λbar λ%x (%x Bar/tag bar)
|
|
|
|
(V/V) = λ%x (%x V/V/tag)
|
|
|
|
(Foo/Foo/tag) = 0
|
|
|
|
(Bar/tag) = 0
|
|
|
|
(V/V/tag) = 0
|