Lesson 8. Capstone 1

This lesson is slightly different from what we’ve covered so far. Instead of learning a new language feature, you’ll try to solve a larger exercise that’s designed to bring together all the lessons covered to this point in the book. In this lesson you’ll be expected to

  • Make changes to an existing F# application in Visual Studio
  • Use the REPL as a development playground to help you develop solutions
  • Port code from scripts into an F# application that’s compiled into an assembly
  • Write code by using expressions and immutable data structures

8.1. Defining the problem

For this exercise, you’re going to work on a code base that builds on the petrol car example from earlier in this unit. The objective is to write a simple application ...

Get Get Programming with F# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.