mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-11-05 04:51:40 +03:00
Revert adt_option_and change
This commit is contained in:
parent
4bc5ab45f7
commit
e3869bd687
@ -8,4 +8,4 @@ Option.and = @a @b match a {
|
||||
None: None
|
||||
}
|
||||
|
||||
main = (Option.and (Some 1))
|
||||
main = Option.and
|
||||
|
@ -2,4 +2,4 @@
|
||||
source: tests/golden_tests.rs
|
||||
input_file: tests/golden_tests/run_file/adt_option_and.hvm
|
||||
---
|
||||
λa (match a { (Some e): (#Option.Some.val λb λc (Some (c, b)) e); (None): λ* None } 1)
|
||||
λa match a { (Some g): (#Option.Some.val λb λc (match c { (Some h): (#Option.Some.val λd (λe λf (Some (f, e)) d) h); (None): λ* None } b) g); (None): λ* None }
|
||||
|
Loading…
Reference in New Issue
Block a user