Translations:Como executar o Prolog/17/en
Ir para navegação
Ir para pesquisar
?- listing(takeout).
takeout(A,[A|B],B). takeout(A,[B|C],[B|D]) :-
takeout(A,C,D).
yes
?- listing(takeout).
takeout(A,[A|B],B). takeout(A,[B|C],[B|D]) :-
takeout(A,C,D).
yes