Skip to Content
Get Programming with F#
book

Get Programming with F#

by Isaac Abraham
March 2018
Intermediate to advanced
592 pages
15h 45m
English
Manning Publications
Content preview from Get Programming with F#

Lesson 6. Working with immutable data

Working with immutable data is one of the more difficult aspects of functional programming to deal with, but as it turns out, after you get over the initial hurdle, you’ll be surprised just how easy it is to write entire applications working with purely immutable data structures. It also goes hand in hand with many other F# features you’ll see, such as expression-based development. In this lesson, you’ll learn

  • The basic syntax for working with immutable and mutable data in F#
  • Some reasons you should consider immutability by default in software development today
  • Simple examples of working with immutable values to manage changing state

6.1. Working with mutable data—a recap

Let’s start by thinking about ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Functional Programming with F#

Learning Functional Programming with F#

Onur Gumus

Publisher Resources

ISBN: 9781617293993OtherSupplemental ContentPublisher SupportPublisher WebsiteSupplemental ContentErrata PagePurchase Link