I have a problem of maplist of prolog program

前端 未结 0 489
执念已碎
执念已碎 2020-12-20 03:14

hallo this is my Programm of Prolog

mymaplist(_,[]).
mymaplist(P,[X|Xs]) :-
    call(P,X),
    mymaplist(P,Xs).

even(X) :- X mod 2 =:= 0.

my

相关标签:
回答
  • 消灭零回复
提交回复
热议问题