Skip to content

Commit 8f674d2

Browse files
committed
move last two paragraphs of "Ex 2.42" into quote
1 parent 057eb0f commit 8f674d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

html/2_002e2.xhtml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2258,7 +2258,6 @@ produce not only one solution, but all solutions to the puzzle.
22582258
<p><strong>Figure 2.8:</strong> A solution to the eight-queens puzzle.</p>
22592259
</figcaption>
22602260
</figure>
2261-
</blockquote>
22622261

22632262
<p>We implement this solution as a procedure <code>queens</code>, which returns a
22642263
sequence of all solutions to the problem of placing <math xmlns="http://www.w3.org/1998/Math/MathML">
@@ -2333,7 +2332,8 @@ positions, whether the queen in the <math xmlns="http://www.w3.org/1998/Math/Mat
23332332
</math> column is safe with respect to the
23342333
others. (Note that we need only check whether the new queen is safe—the
23352334
other queens are already guaranteed safe with respect to each other.)
2336-
</p>
2335+
</p></blockquote>
2336+
23372337
<blockquote>
23382338
<p><strong><a id="Exercise-2_002e43"></a>Exercise 2.43:</strong> Louis Reasoner is having a
23392339
terrible time doing <a href="#Exercise-2_002e42">Exercise 2.42</a>. His <code>queens</code> procedure seems to

sicp-pocket.texi

+1-1
Original file line numberDiff line numberDiff line change
@@ -8695,7 +8695,6 @@ produce not only one solution, but all solutions to the puzzle.
86958695
@caption{@strong{Figure 2.8:} A solution to the eight-queens puzzle.}
86968696
@end iftex
86978697
@end float
8698-
@end quotation
86998698

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

87398739
@quotation
87408740
@strong{@anchor{Exercise 2.43}Exercise 2.43:} Louis Reasoner is having a

0 commit comments

Comments
 (0)