List of Figures

 

Chapter 1. Thinking differently

Figure 1.1. The ellipse on the right is moving from the left to the right, and the ellipse on the left is moving from the top to the bottom.

Figure 1.2. In the MapReduce framework, an algorithm is described by specifying map task and a reduce task. The framework automatically distributes the input across servers and processes the tasks in parallel.

Figure 1.3. Using F# Interactive, we can first test the code and then wrap it into a function.

Figure 1.4. Running our WinForms application created using the OOP style in F#

Chapter 3. Meet tuples, lists, and functions in F# and C#

Figure 3.1. A functional list containing 6, 2, 7, and 3. Rectangles represent cons cells, which contain a value and a reference to the rest of the list. The last cons cell references a special value representing an empty list.

Figure 3.2. The type signature of the aggregateList function in detail. The first argument specifies how two numbers are aggregated, the second is an initial value, and the third is an input list.

Chapter 4. Exploring F# and .NET libraries by example

Figure 4.1. Running the F# application for drawing pie charts developed in this chapter. The chart shows distribution of the world population among continents.

Figure 4.2. Two phases of drawing the chart: the first phase using drawPieSegment (left) and the second using the drawLabel function (right). The chart shows distribution of the world population in 1900.