Anniepoo/swiplclpfd

copy_term/3

Opened this issue · 1 comments

Add a section demonstrating how to use copy_term/3 to do online computation with attributes.

Also add usng failure to unwind attributes.

example - I have a complex term with a bunch of attributed variables. I want to test a list of terms and retain those which unify.
the first success would normally 'spoil' the master, so we make a copy.