">:</span> <span style="color:#66d9ef">Cart</span> <span style="color:#f92672">=</span> copy<span style="color:#f92672">(</span>items <span style="color:#66d9ef">=</span> items <span style="color:#66d9ef">:</span><span style="color:#66d9ef">+</span> <span style="color:#66d9ef">item</span><span style="color:#f92672">)</span>
  <span style="color:#66d9ef">def</span> totalQuantity <span style="color:#66d9ef">=</span> items<span style="color:#f92672">.</span>map<span style="color:#f92672">(</span><span style="c