Chapter 3. Data Structures in F#
We have seen different ways to perform functional programming with F#. In this chapter, we will cover the following data structures and writing custom data structures in a more concise and readable way:
- F#
Collections
Seq
,Array
,List
,Map
,Set
yield
keyword- Advanced data structures
- Stacks
- Queues
- Binary search trees
- Red-black tree
This chapter just helps you understand how to use the available data structures in F# and write some basic custom data structures. As a developer, it will help you think more in functional aspects inclined towards type safety, immutability, and other areas that you learned in the previous chapters.