mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-10 15:04:15 +03:00
22 lines
334 B
Markdown
22 lines
334 B
Markdown
## Test
|
|
|
|
```catala
|
|
declaration scope A:
|
|
context a content integer
|
|
input b content integer
|
|
output c content integer
|
|
internal d content integer
|
|
|
|
declaration scope B:
|
|
a scope A
|
|
|
|
scope A:
|
|
definition a equals 0
|
|
definition c equals b + d
|
|
definition d equals 1 + a
|
|
|
|
scope B:
|
|
definition a.b equals 2
|
|
assertion a.c = 1
|
|
```
|