>q</code>, without removing
   it from the queue, or raises <code class="code">Empty</code> if the queue is empty.<br>
</div>

<pre><span id="VALtop"><span class="keyword">val</span> top</span> : <code class="type">'a <a href="Queue.html#TYPEt">t</a> -> 'a</code></pre><div class="info ">
<code class="code">top</code> is a synonym for <code class="code">peek</code>.<br>
</div>

<pre><span id="VALclear"><span class="keyword">val</span> clear</span> : <code class="type">'a <a href="Queue.html#TYPEt">t</a> -> u