The FSharpx.Collections library
Rolling your own data structures is a profound learning experience that teaches you a great deal about the internals of storage, algorithms, and retrieval. However, it is seldom a good idea if you are writing a production code. The correctness, optimizations, testing, and continued maintenance of the built-in .NET libraries usually far outweigh the benefits gained by using a custom implementation. At this point in this book, we feel it is important to introduce a key resource, FSharpx.Collections
. This open source library is a collection of F# data structures. These are functional implementations of various collections by community contributors. The source code for this library can be viewed, contributed to, and downloaded from https://github.com/fsprojects/FSharpx.Collections.
Also, the NuGet package (https://www.nuget.org/packages/FSharpx.Collections) can be installed through the Package Manager Console as shown in the following screenshot:
FSharpx.Collections...