JavaTXCompilerInJavaTX/asp/testUnifikation.lp

13 lines
231 B
Plaintext
Raw Normal View History

2018-07-17 17:51:50 +00:00
type(t1, cjava_DOT_util_DOT_Vector, 1).
param(t1, t2, 1).
type(t2, cjava_DOT_util_DOT_Vector, 1).
param(t2, b, 1).
typeVar(b).
type(t3, cjava_DOT_util_DOT_Vector, 1).
param(t3, a, 1).
typeVar(a).
unify(p, t1, t3).
#show unify/3.