class="p">
    <p>Return true iff <code>self</code> begins with elements equivalent to those of
<code>other</code>, using <code>isEquivalent</code> as the equivalence test.  Return true if
<code>other</code> is empty.</p>

<p><strong>Requires:</strong> <code>isEquivalent</code> is an
  <a href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence relation</a>.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func startsWith&lt;OtherSequence : SequenceType where OtherSequence.Gene