catala/tests/test_array/good/simplest.catala_en
2023-04-14 18:24:09 +02:00

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 ]
```