mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-09 01:35:56 +03:00
16 lines
288 B
Plaintext
16 lines
288 B
Plaintext
|
## Test
|
||
|
|
||
|
```catala
|
||
|
declaration scope A:
|
||
|
output foo content integer
|
||
|
state bar
|
||
|
state baz
|
||
|
|
||
|
scope A:
|
||
|
label thing definition foo state bar equals 2
|
||
|
|
||
|
definition foo state baz equals foo + 1
|
||
|
|
||
|
exception thing definition foo state baz under condition true consequence equals 3
|
||
|
```
|