Sujet : Re: '$MARK' and '$CUT' (Was: Can we do this with ancestral cuts or something?)
De : julio (at) *nospam* diegidio.name (Julio Di Egidio)
Groupes : comp.lang.prologDate : 09. Dec 2024, 15:38:05
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vj6vce$cigu$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 09/12/2024 15:22, Mild Shock wrote:
Or use Dogelog Player:
/* Dogelog Player */
'$MARK'(CP) : Get a choicen point.
'$CUT'(CP) : Cut to a choice point.
But I don't have soft cut. But you can do
ancestral cut with it. SWI-Prolog has something
similar burried somewhere, they are called:
<
https://www.swi-prolog.org/pldoc/man?section=ancestral-cut>
Not per chance I have mentioned SWI-Prolog in the OP. I have also mentioned that I cannot seem to do it with ancestral cuts (only).
But thanks for mentioning soft-cuts, I had completely forgotten about those...
-Julio