ler implementation of the ISO
Prolog standard <code class="docutils literal notranslate"><span class="pre">write_canonical/2</span></code> built-in predicate is buggy and
writes terms that cannot be read back when consulting the
intermediate Prolog files generated by the Logtalk compiler. Often,
syntax errors found when consulting result in error messages but not
in exceptions as the Prolog compiler tries to continue the
compilation despite the problems found. As the Logtalk compiler
relies on the exception