Lesson 16. Useful collection functions
Now that you have a reasonably high-level understanding of collections in F#, this lesson focuses on getting your muscle memory trained to use collections in practical situations. This lesson covers the following:
- The most common collection functions across the three types that you’ve learned about (Seq, List, and Array) with some visualizations and hands-on examples
- A comparison of F# functions with similar LINQ operations
- The differences between imperative and declarative solutions
- Moving between collection types
Each operation we cover has a simple example associated with it, alongside typical use cases and equivalents in both imperative coding and LINQ (if it exists). Go through every example in a ...
Get Get Programming with F# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.