E-book details

F# 4.0 Design Patterns. Solve complex problems with functional thinking

F# 4.0 Design Patterns. Solve complex problems with functional thinking

Gene Belitski

Ebook
Following design patterns is a well-known approach to writing better programs that captures and reuses high-level abstractions that are common in many applications. This book will encourage you to develop an idiomatic F# coding skillset by fully embracing the functional-first F# paradigm. It will also help you harness this powerful instrument to write succinct, bug-free, and cross-platform code.
F# 4.0 Design Patterns will start off by helping you develop a functional way of thinking. We will show you how beneficial the functional-first paradigm is and how to use it to get the optimum results. The book will help you acquire the practical knowledge of the main functional design patterns, the relationship of which with the traditional Gang of Four set is not straightforward.
We will take you through pattern matching, immutable data types, and sequences in F#. We will also uncover advanced functional patterns, look at polymorphic functions, typical data crunching techniques, adjusting code through augmentation, and generalization. Lastly, we will take a look at the advanced techniques to equip you with everything you need to write flawless code.
  • 1. Begin to Think Functionally
  • 2. Dissecting F#
  • 3. Basic Functions
  • 4. Pattern Matching
  • 5. Immutable Data Types
  • 6. Sequences as On-Demand Data
  • 7. Advanced Techniques: Functions Revisited
  • 8. Data Crunching: Polymorphic Operations over Data Collections
  • 9. More Data Crunching: Generators, Comprehensions, Querying, Parsin
  • 10. Functional Polymorphism: Type Augmentation and Generic Computations
  • 11. Expert Techniques: : Computation Expressions, Asynchronous and Reactive Computations, Metaprogramming, Type Providers, Polyglot Programming
  • 12. Transformation of Imperative and Object-Oriented Design Patterns and Principles Under Functional Paradigm
  • 13. Troubleshooting Functional Code
  • Title: F# 4.0 Design Patterns. Solve complex problems with functional thinking
  • Author: Gene Belitski
  • Original title: F# 4.0 Design Patterns. Solve complex problems with functional thinking
  • ISBN: 9781785889516, 9781785889516
  • Date of issue: 2016-11-30
  • Format: Ebook
  • Item ID: e_3b5v
  • Publisher: Packt Publishing