Skip to content

Commit

Permalink
move last two paragraphs of "Ex 2.42" into quote
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Jun 27, 2018
1 parent 057eb0f commit 8f674d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions html/2_002e2.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -2258,7 +2258,6 @@ produce not only one solution, but all solutions to the puzzle.
<p><strong>Figure 2.8:</strong> A solution to the eight-queens puzzle.</p>
</figcaption>
</figure>
</blockquote>

<p>We implement this solution as a procedure <code>queens</code>, which returns a
sequence of all solutions to the problem of placing <math xmlns="http://www.w3.org/1998/Math/MathML">
Expand Down Expand Up @@ -2333,7 +2332,8 @@ positions, whether the queen in the <math xmlns="http://www.w3.org/1998/Math/Mat
</math> column is safe with respect to the
others. (Note that we need only check whether the new queen is safe—the
other queens are already guaranteed safe with respect to each other.)
</p>
</p></blockquote>

<blockquote>
<p><strong><a id="Exercise-2_002e43"></a>Exercise 2.43:</strong> Louis Reasoner is having a
terrible time doing <a href="#Exercise-2_002e42">Exercise 2.42</a>. His <code>queens</code> procedure seems to
Expand Down
2 changes: 1 addition & 1 deletion sicp-pocket.texi
Original file line number Diff line number Diff line change
Expand Up @@ -8695,7 +8695,6 @@ produce not only one solution, but all solutions to the puzzle.
@caption{@strong{Figure 2.8:} A solution to the eight-queens puzzle.}
@end iftex
@end float
@end quotation

We implement this solution as a procedure @code{queens}, which returns a
sequence of all solutions to the problem of placing @math{n} queens on an
Expand Down Expand Up @@ -8735,6 +8734,7 @@ You must also write the procedure @code{safe?}, which determines for a set of
positions, whether the queen in the @math{k^{\text{th}}} column is safe with respect to the
others. (Note that we need only check whether the new queen is safe---the
other queens are already guaranteed safe with respect to each other.)
@end quotation

@quotation
@strong{@anchor{Exercise 2.43}Exercise 2.43:} Louis Reasoner is having a
Expand Down

0 comments on commit 8f674d2

Please sign in to comment.