This website works better with JavaScript
首頁
探索
說明
登入
radu
/
LaTeX-examples
關註
1
讚好
0
複刻
0
檔案
問題管理
0
合併請求
0
Wiki
目錄樹:
00c02a4fea
分支列表
標籤列表
master
LaTeX-examples
/
documents
/
Programmierparadigmen
/
scripts
/
prolog
/
delete.pl
delete.pl
96 B
文件歷史
原始文件
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).