VILL- DEBANDI, AMTA, HOWRAH PIN-711410 Phone-9836357266
Determining if a term is a list.
list([]).list([X|Xs]) :- list(Xs).
?- list([a,b,c]).yes?- list(abc).no
No comments:
Post a Comment