in short: How to find min value in a list? (thanks for the advise kaarel)
long story:
I have created a weighted graph in amzi prolog and given 2 nodes, I am
% find minimum in a list
min([Y],Y):-!. min([H|L],H):-min(L,Z),H==Z.
% so whattaya think!