标签: prolog
我需要将列表作为第三个参数传递给规则find/3。但我得到了ERROR: is/2: Arguments are not sufficiently instantiated。怎么了?
find/3
ERROR: is/2: Arguments are not sufficiently instantiated
代码:
find(A,B, DepartureTime):- % ..... find(_,_,_):- % do stuff
查询:
?-find('Moscow','NY', [6,0]).