mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 11:56:54 +03:00
8 lines
184 B
Plaintext
8 lines
184 B
Plaintext
# Tests that `({Foo @* a} 9)` is correctly extracted as a combinator, otherwise the file would hang when running
|
|
Foo = @a switch a {
|
|
0: (#a {Foo @* a} 9);
|
|
_: a-1
|
|
}
|
|
|
|
main = (Foo 0)
|