Fix indentation on sierpinski example.

This commit is contained in:
Sam Tobin-Hochstadt 2014-03-02 17:00:47 -05:00
parent 60c9a00b47
commit ad239e7e2d

View File

@ -106,9 +106,9 @@
(require 2htdp/image)
(let sierpinski ([n 8])
(if (zero? n)
(triangle 2 'solid 'red)
(let ([t (sierpinski (- n 1))])
(freeze (above t (beside t t))))))}
(triangle 2 'solid 'red)
(let ([t (sierpinski (- n 1))])
(freeze (above t (beside t t))))))}
@desc{The @elemcode{2htdp/image} library provides easy-to-use functions
for constructing images, and DrRacket can display an image result as
easily as it can display a number result. In this case, a