Book description
F# brings the power of functional-first programming to the .NET Framework, a platform for developing software in the Microsoft Windows ecosystem. If you're a traditional .NET developer used to C# and Visual Basic, discovering F# will be a revelation that will change how you code, and how you think about coding.
In The Book of F#, Microsoft MVP Dave Fancher shares his expertise and teaches you how to wield the power of F# to write succinct, reliable, and predictable code. As you learn to take advantage of features like default immutability, pipelining, type inference, and pattern matching, you'll be amazed at how efficient and elegant your code can be.
You'll also learn how to:
- Exploit F#'s functional nature using currying, partial application, and delegation
- Streamline type creation and safety with record types and discriminated unions
- Use collection types and modules to handle data sets more effectively
- Use pattern matching to decompose complex types and branch your code within a single expression
- Make your software more responsive with parallel programming and asynchronous workflows
- Harness object orientation to develop rich frameworks and interact with code written in other .NET languages
- Use query expressions and type providers to access and manipulate data sets from disparate sources
Break free of that old school of programming. The Book of F# will show you how to unleash the expressiveness of F# to create smarter, leaner code.
Publisher resources
Table of contents
- Copyright
- About the Author
- Foreword
- Preface
- Acknowledgments
- Introduction
- 1. Meet F#
- 2. F# Interactive
- 3. Fundamentals
- 4. Staying Objective
- 5. Let’s Get Functional
- 6. Going to Collections
-
7. Patterns, Patterns, Everywhere
- Match Expressions
- Exhaustive Matching
- Matching Constant Values
- Identifier Patterns
- Matching Nulls
- Matching Tuples
- Matching Records
- Matching Collections
- Matching by Type
- As Patterns
- Combining Patterns with AND
- Combining Patterns with OR
- Parentheses in Patterns
- Active Patterns
- Partial Active Patterns
- Parameterized Active Patterns
- Summary
- 8. Measuring Up
- 9. Can I Quote You on that?
- 10. Show Me the Data
- 11. Asynchronous and Parallel Programming
- 12. Computation Expressions
- Index
- About the Author
Product information
- Title: The Book of F#
- Author(s):
- Release date: March 2014
- Publisher(s): No Starch Press
- ISBN: 9781593275525
You might also like
book
Mastering F#
A comprehensive and in-depth guide to writing functional programs using F# About This Book Learn how …
book
Beginning F# 4.0
This book is a great foundation for exploring functional-first programming and its role in the future …
book
Introduction to Securitization
Introduction to Securitization outlines the basics of securitization, addressing applications for this technology to mortgages, collateralized …
book
F# Deep Dives
F# Deep Dives presents a collection of real-world F# techniques, each written by expert practitioners. Each …