Backtracking on Write
JCumin opened this issue · 2 comments
JCumin commented
Causes problems, there should be no unexplored branch points on that predicate.
triska commented
You can use setup_call_cleanup/3
to detect determinism, please see the example.
This would be an awesome feature of Brachylog: Create side effects only when it is really safe!
JCumin commented
Fixed. It was actually a bug in the REPL that had extraneous choice points, not in write
.