| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Counting propositions
p(a). p(x). p(z). p(u). pset(0,[]).
list(0,[]).
list(s(N),[s(N)|L]):-list(N,L).
lp(N,S):-list(N,L),pset(L,S).
Why the lp(N,L) goal don't stop ?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
![]() |
![]() |