Don't Care in Prolog -


Is there a way to tell the prolol that any element in the list can be of value? I tried to use _ but it was not working I am trying to compare zero and two lists, but in some places I do not care about value, for example : I have the _ element on [1,1,1] == [1,1, _] back to true

Instead use the following:

 < Code> [1,1,1] = [1,1, _]  

== / 2 similar The test for T, which is stronger than = / 2 (which instantiates).


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -