[eclipse-users] to recover the state of a variable when the predicate is used “tent_set”, library “repair"

From: m.alejandro <malejandrommm_at_gmail.com>
Date: Wed, 10 Oct 2007 21:16:50 +0200
---------- Forwarded message ----------


hi....

I wanted to know like recovering the original state of a variable, after
applying to the predicate "tent_set". For example:


?- X1::1..3, X1 tent_set 2,write(X1).
        ... X1{repair:2, fd:[1..3]}


X1 = X1{[1..3]}  -----[tent_set 2 ]--->   X1{repair:2, fd:[1..3]}
----[????]---->  X1{[1..3]}

bye...
Received on Wed Oct 10 2007 - 20:17:12 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET