tes. E.g.</p>
<div class="highlight-logtalk notranslate"><div class="highlight"><pre><span></span>| <span class="o">?-</span> code<span class="o">&lt;&lt;</span>foo(<span class="nv">X</span>, <span class="nv">Y</span>).
</pre></div>
</div>
<p>With either wrapping solution, pay special attention to any compilation
warnings that may signal issues that could prevent the plain Prolog code
from working as-is when wrapped by an object. Often any required changes
are straightforward (e.g., adding <code class="docu