File: test11.elpi

package info (click to toggle)
elpi 2.0.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 50,296 kB
  • sloc: ml: 18,791; makefile: 229; python: 95; sh: 7
file content (10 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
:functional
pred p i:int, o:int.

% here we have variables in input position, overlap detection,
% makes the predicate not functional...
% NOTE: the query p 1 Y has two solution for Y
p 1 2.
p X 3.

main.