This website works better with JavaScript
Home
Esplora
Aiuto
Accedi
radu
/
LaTeX-examples
Segui
1
Vota
0
Forka
0
File
Problemi
0
Pull Requests
0
Wiki
Albero (Tree):
b18561fc54
Rami (Branch)
Tag
master
LaTeX-examples
/
documents
/
Programmierparadigmen
/
scripts
/
prolog
/
delete.pl
delete.pl
96 B
Cronologia
Originale
1
2
3
remove([(X,A)|L],X,[(X,ANew)|L]) :- A>0, ANew is A-1.
remove([X|L],Y,[X|L1]) :- remove(L,Y,L1).