mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-20 08:47:14 +03:00
22 lines
425 B
Plaintext
22 lines
425 B
Plaintext
## Article
|
|
|
|
```catala
|
|
declaration scope A:
|
|
output x content collection integer
|
|
|
|
scope A:
|
|
definition x equals [0; 4; 8]
|
|
```
|
|
|
|
```catala-test-inline
|
|
$ catala Interpret -s A
|
|
[RESULT] Computation successful! Results:
|
|
[RESULT] x = [ 0; 4; 8 ]
|
|
```
|
|
|
|
```catala-test-inline
|
|
$ catala Interpret_Lcalc -s A --avoid_exceptions --optimize
|
|
[RESULT] Computation successful! Results:
|
|
[RESULT] x = ESome [ ESome 0; ESome 4; ESome 8 ]
|
|
```
|