2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-25 14:28:05 +02:00

MPI;Prolog; Index ergänzt

This commit is contained in:
Martin Thoma 2014-03-11 13:58:42 +01:00
parent 926bf6a386
commit 00c02a4fea
10 changed files with 54 additions and 9 deletions

View file

@ -0,0 +1,2 @@
remove([(X,A)|L],X,[(X,ANew)|L]) :- A>0, ANew is A-1.
remove([X|L],Y,[X|L1]) :- remove(L,Y,L1).