Exercise 10.1

This exercise is simply to execute the code given in the book.

To draw the “five circles” example:

draw "five circles" $ Region Blue $ Translate (-2,0)
                    $ Scale (0.5, 0.5) fiveCircles

Note: Technical errors 17, 18 and 19 apply to the code (in particular shapeToGRegion) in Chapter 10.

Leave a Reply

Your email address will not be published. Required fields are marked *