/ol></div><div class="spec-doc"><p>resource that can be allocated</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-compare_resource"><a href="#val-compare_resource" class="anchor"></a><code><span><span class="keyword">val</span> compare_resource : <span><a href="#type-resource">resource</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-resource">resource</a> <span class="arrow">&#45;&gt;</span></span> int</span></code></div></div><div class="odoc-spec"><div c