Replies: 2 comments
-
Ls in -3..0,indomain(Ls),L#=-Ls,length(X,L),sl([1,2,3],X). |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following predicate, which returns subsequences:
I want to perform an iterative deepening search of lists
L
that satisfysl([1,2,3],L)
, but I want to start the search from the maximum possible length.I attempted the following. Regardless of how i setup the range for length, the interpreter seems to always begin at 0.
I'm wondering how I should patch
sl/2
or my query to get the result I want, which should be something like:Beta Was this translation helpful? Give feedback.
All reactions