mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-08-15 14:50:42 +03:00
19 lines
395 B
Plaintext
19 lines
395 B
Plaintext
---
|
|
source: tests/golden_tests.rs
|
|
input_file: tests/golden_tests/compile_file_o_all/scrutinee_reconstruction.bend
|
|
---
|
|
@Option/None = ((1 a) a)
|
|
|
|
@Option/Some = (a ((0 (a b)) b))
|
|
|
|
@Option/or = ((@Option/or__C1 a) a)
|
|
|
|
@Option/or__C0 = (a (* b))
|
|
& @Option/Some ~ (a b)
|
|
|
|
@Option/or__C1 = (?((@Option/or__C0 (* (a a))) b) b)
|
|
|
|
@main = b
|
|
& @Option/or ~ (a (@Option/None b))
|
|
& @Option/Some ~ (5 a)
|