Well, ok, let's say i have these two facts:
data1([50, 20, 15, 20, 25, 20, 84]).
data2([50, 30, 15, 5, 10, 18, 60]).
I want to make a query that asks whether the N-th element of the list defined as a part of those facts is some value.
query([L1|Tail]) :- L1 is 50. This would work but only...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.