16 lines
266 B
MiniZinc
16 lines
266 B
MiniZinc
/***
|
|
!Test
|
|
solvers: [gecode]
|
|
expected: !Result
|
|
solution: !Solution
|
|
x: [true]
|
|
***/
|
|
|
|
% Previously we would only eval_array_lit on the in part
|
|
|
|
array[int] of var bool: x :: add_to_output = [y | y in let {
|
|
array [1..1] of var bool: z;
|
|
} in z];
|
|
|
|
constraint x[1];
|