JCumin/Brachylog

Backtracking on Write

JCumin opened this issue · 2 comments

Causes problems, there should be no unexplored branch points on that predicate.

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!

Fixed. It was actually a bug in the REPL that had extraneous choice points, not in write.