al</span> exp env)))</code></pre>
<ul>
<li>We change <code>apply</code> to take <code>env</code>, and use <code>list-of-arg-values</code> and <code>list-of-delayed-args</code>:</li>
</ul>
<pre><code class="codeblock">(<span class="kw">define</span> (<span class="fu">apply</span> procedure arguments env)
  (<span class="kw">cond</span> ((primitive-procedure? procedure)
         (apply-primitive-procedure
          procedure
          (list-of-arg-values arguments env)))  <span class="at">; changed</span>
   