O'Reilly logo

Get Programming with F#: A guide for .NET developers by Isaac Abraham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required