O'Reilly logo

Mastering F# by Suhaib Fahad, Alfonso García-Caro Núñez

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

Summary

In this chapter, we were able to go through the main collections in the FSharp.Core library, such as lazy sequences, arrays, lists, maps, and sets; learned the difference between them in terms of mutability and memory and computation efficiency. We also saw how to use the functions in their respective modules to easily manipulate them.

After that, we worked with some advanced data structures that we coded ourselves, such as binary trees or balanced red-black trees. In the next chapter, we will go through the imperative constructs present in F#, and we will compare them with those in C#.

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