File: test12.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 (12 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
:functional
pred p i:int, o:int.

/* this slightly differs from test11.elpi since 
 * we explicitly put the uvar keyword in place of a unification variable
 * the input mode will therefore prevent the query `p 1 Y` to unify with 
 * `p uvar 3.
 */
p 1 2.
p uvar 3.

main.