Skip to content

Commit

Permalink
Merge pull request #60 from colbyr/master
Browse files Browse the repository at this point in the history
Fix typo in 1.3.2
  • Loading branch information
sarabander committed Nov 17, 2015
2 parents 0925859 + 88c49ef commit 155e5d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/1-3-hop.content.html
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ <h4> Using let to create local variables </h4>
(let ((&lt;var1&gt; &lt;exp1&gt;)
(&lt;var2&gt; &lt;exp2&gt;)
...
(&lt;varN&gt; &lt;varN&gt;))
(&lt;varN&gt; &lt;expN&gt;))
&lt;body&gt;)
</div>
<script>
Expand Down Expand Up @@ -736,7 +736,7 @@ <h4> Using let to create local variables </h4>
</li>

<li>
<p> The variables' values are computed outside the <tt>let.</tt> This matters when the expressions that provide the values for the local variables depend upon variables having the same names as the local variables themselves. For example, if the value of <tt>x</tt> is 2, the expression
<p> The variables' values are computed outside the <tt>let</tt>. This matters when the expressions that provide the values for the local variables depend upon variables having the same names as the local variables themselves. For example, if the value of <tt>x</tt> is 2, the expression

<div id="scheme-let-shadow-prelude">
(define x 2)
Expand All @@ -760,11 +760,11 @@ <h4> Using let to create local variables </h4>
});
</script>

<p> will have the value <span id="scheme-let-shadow-output" class="output"></span> because, inside the body of the <tt>let, x</tt> will be 3 and <tt>y</tt> will be 4 (which is the outer <tt>x</tt> plus 2).
<p> will have the value <span id="scheme-let-shadow-output" class="output"></span> because, inside the body of the <tt>let</tt>, <tt>x</tt> will be 3 and <tt>y</tt> will be 4 (which is the outer <tt>x</tt> plus 2).
</li>
</ul>

<p> Sometimes we can use internal definitions to get the same effect as with <tt>let.</tt> For example, we could have defined the procedure <tt>f</tt> above as
<p> Sometimes we can use internal definitions to get the same effect as with <tt>let</tt>. For example, we could have defined the procedure <tt>f</tt> above as

<div id="scheme-define-f-close-define">
(define (f x y)
Expand Down

0 comments on commit 155e5d0

Please sign in to comment.