tempusfugit (128) [Avatar] Offline
#1
Listing 4.11 Drawing text labels (p.102-103)

Third line of code is

let textDistance = 150.0

but later in the code "labelDistance" is used.

Change third line to

let labelDistance = 150.0

The online source code at
http://www.functional-programming.net/sources.aspx
already reflects this.
Tomas Petricek (160) [Avatar] Offline
#2
Re: Listing 4.11 Drawing text labels
Hi,
thanks for the feedback - it'll be corrected in the final version.

Tomas