bug-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

meaningless infinite loop


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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]