ass="kt">ProtocolWithAssociatedType</span> <span class="p">{</span>
    <span class="kd">associatedtype</span> <span class="kt">T</span><span class="p">:</span> <span class="kt">Sequence</span>

    <span class="k">var</span> <span class="nv">sequence</span><span class="p">:</span> <span class="kt">T</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span>

    <span class="kd">func</span> <span class="nf">methodWithType</span><span class="p">(</span><span class="nv">t</span><span