Book description
Get started with F# and explore functional programming paradigm with data structures and algorithms
Design data structures and algorithms in F# to tackle complex computing problems
Understand functional programming with examples and easy-to-follow code samples in F#
Provides a learning roadmap of the F# ecosystem with succinct illustrations
In Detail
F# is a multi-paradigm programming language that encompasses object-oriented, imperative, and functional programming language properties. The F# functional programming language enables developers to write simple code to solve complex problems.
Starting with the fundamental concepts of F# and functional programming, this book will walk you through basic problems, helping you to write functional and maintainable code. Using easy-to-understand examples, you will learn how to design data structures and algorithms in F# and apply these concepts in real-life projects. The book will cover built-in data structures and take you through enumerations and sequences. You will gain knowledge about stacks, graph-related algorithms, and implementations of binary trees. Next, you will understand the custom functional implementation of a queue, review sets and maps, and explore the implementation of a vector. Finally, you will find resources and references that will give you a comprehensive overview of F# ecosystem, helping you to go beyond the fundamentals.
What You Will Learn
Familiarize yourself with the functional programming nature of F# and explore its fundamentals
Utilize data structures available in F# and apply recursion and lazy evaluation
Gain insights into functional programming paradigms; dissect F# code and analyze code available in community projects
Build abstract data structures and utilize powerful optimization techniques such as memoization
Explore and test built-in F# bespoke data structures and algorithms
Become resourceful and learn how to easily reuse libraries contributed by the C# and F# community
Understand the trade-offs in selecting purely functional (persistent) over mutable data structures
Implement custom ADT (Abstract Data Type), and discover parallel programming and asynchrony within F#
Table of contents
-
Learning F# Functional Data Structures and Algorithms
- Table of Contents
- Learning F# Functional Data Structures and Algorithms
- Credits
- Foreword
- Foreword
- Foreword
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Embrace the Truth
- 2. Now Lazily Get Over It, Again
- 3. What's in the Bag Anyway?
- 4. Are We There Yet?
- 5. Let's Stack Up
- 6. See the Forest for the Trees
- 7. Jumping the Queue
- 8. Quick Boost with Graph
- 9. Sets, Maps, and Vectors of Indirections
-
10. Where to Go Next?
- References and further readings
- F# language resources
- Component design guidelines
- Functional programming guides
- Books and interactive tutorials
- Video tutorials
- Community projects – development tools
- Community projects – functional programming
- Community projects – data science programming
- Community projects – the GPU execution
- General functional programming
- Academic resources
- Summary
- Index
Product information
- Title: Learning F# Functional Data Structures and Algorithms
- Author(s):
- Release date: June 2015
- Publisher(s): Packt Publishing
- ISBN: 9781783558476
You might also like
video
Learning Functional Programming with F#
In today’s world fully functional web applications are a key requirement and a necessity. We can …
book
Learning Functional Data Structures and Algorithms
Learn functional data structures and algorithms for your applications and bring their benefits to your work …
book
Hands-On Data Structures and Algorithms with Rust
Design and implement professional level programs by exploring modern data structures and algorithms in Rust. Key …
book
Structured Parallel Programming
Structured Parallel Programming offers the simplest way for developers to learn patterns for high-performance parallel programming. …