Код: Выделить всё
problem(1, [](
[](1,2,3,4),
[](1,2,4,3),
[](1,3,2,4),
)
).
Код: Выделить всё
EC_functor matrix4("[]", 4);
EC_word r1 = term(matrix4, 1, 2, 3, 4);
EC_word r2 = term(matrix4, 1, 2, 4, 3);
EC_word r3 = term(matrix4, 1, 3, 2, 4);
Код: Выделить всё
EC_functor matrix3("[]", 3);
EC_word table = term(matrix3, r1, r2, r3);
Код: Выделить всё
non-atomic initializer in ecl_refs_create()
(Я не смог найти примеров этого в https://www.eclipseclp.org/doc/examples или https://eclipseclp.org/doc/embedding.pdf)
Подробнее здесь: https://stackoverflow.com/questions/783 ... nterfacing