|
From: | rossano deias |
Subject: | meaningless infinite loop |
Date: | Tue, 17 Jun 2008 19:44:56 +0200 |
with gprolog 1.3.0 and gentoo linux zeros([],0). zeros([0|T],N) :- zeros(T,N1) , N is N1 + 1. | ?- zeros(L,4). L = [0,0,0,0] ? ; ....... infinite loop ....... why?
[Prev in Thread] | Current Thread | [Next in Thread] |