catala/tests/test_enum/quick_pattern_3.catala
2021-01-06 18:42:22 +01:00

19 lines
177 B
Plaintext

@Article@
/*
new enum E:
-- Case1
-- Case2
new enum F:
-- Case3
-- Case4
new scope A:
param x content E
param y content bool
scope A:
def x := Case1
def y := x with Case3
*/