Mastering F#

A comprehensive and in-depth guide to writing functional programs using F#
Preview in Mapt

Mastering F#

Alfonso García-Caro Núñez, Suhaib Fahad

1 customer reviews
A comprehensive and in-depth guide to writing functional programs using F#
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Mastering F# Book Cover
Mastering F#
$ 35.99
$ 25.20
F# 4.0 Design Patterns Book Cover
F# 4.0 Design Patterns
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $36.98
Add to Cart

Book Details

ISBN 139781784393434
Paperback264 pages

Book Description

F# is a multi-paradigm programming language that encompasses object-oriented, imperative, and functional programming language properties. Now adopted in a wide range of application areas and is supported both by industry-leading companies who provide professional tools and by an active open community, F# is rapidly gaining popularity as it emerges in digital music advertising, creating music-focused ads for Spotify, Pandora, Shazam, and anywhere on the web.

This book will guide you through the basics and will then help you master F#. The book starts by explaining how to use F# with Visual Studio, file ordering, and the differences between F# and C# in terms of usage. It moves on to explain the functional core of F# such as data types, type declarations, immutability, strong type interference, pattern matching, records, F# data structures, sequence expressions, and lazy evaluation. Next, the book takes you through imperative and asynchronous programming, F# type providers, applications, and testing in F#. Finally, we look into using F# with distributed programming and using F# as a suitable language for data science. In short, this book will help you learn F# for real-world applications and increase your productivity with functional programming.

Table of Contents

Chapter 1: Getting Started in F#
Key features of F#
F# and integrated development environments
Basic values
Summary
Chapter 2: Functional Core with F#
F# primitive types
Immutability, type declarations, and strong type inference
Summary
Chapter 3: Data Structures in F#
F# Collections
Advanced data structures
Summary
Chapter 4: Imperative Programming in F#
Control structures
Object-oriented programming
Generics
Using LINQ in F#
Events
Observables
Interop with C#
Summary
Chapter 5: Asynchronous Programming
Asynchronous workflows in F#
Actor programming with MailboxProcessor
Reactive programming with async workflows
Summary
Chapter 6: Type Providers
SQL type provider
SQL entity type provider
OData type provider
Web service type provider
Data analysis with type providers
Query builder
Summary
Chapter 7: Web Programming in F#
ASP.NET Web API 2
Suave
WebSharper
Fable
Summary
Chapter 8: Application Development in F#
GitHub Electron
Using React components with Electron
npm start
Summary
Chapter 9: Testing in F#
Unit testing
Property-based testing
Summary
Chapter 10: Distributed Programming in F#
Actor Model
Akka.NET
Summary

What You Will Learn

  • Understand the basics of F# and organize F# source code with Visual Studio
  • Work with F# data structures and create functional data structures in F# interoperate with C#
  • Build and use asynchronous programming patterns with F#
  • Create and use type providers that help perform data analysis from within Visual Studio
  • Develop applications with pure F# code in WPF or ASP.NET MVC
  • Find out how to perform distributed programming with ServiceBus or ZeroMQ
  • Visualize data with charts, and work with Excel and R language Type providers

Authors

Table of Contents

Chapter 1: Getting Started in F#
Key features of F#
F# and integrated development environments
Basic values
Summary
Chapter 2: Functional Core with F#
F# primitive types
Immutability, type declarations, and strong type inference
Summary
Chapter 3: Data Structures in F#
F# Collections
Advanced data structures
Summary
Chapter 4: Imperative Programming in F#
Control structures
Object-oriented programming
Generics
Using LINQ in F#
Events
Observables
Interop with C#
Summary
Chapter 5: Asynchronous Programming
Asynchronous workflows in F#
Actor programming with MailboxProcessor
Reactive programming with async workflows
Summary
Chapter 6: Type Providers
SQL type provider
SQL entity type provider
OData type provider
Web service type provider
Data analysis with type providers
Query builder
Summary
Chapter 7: Web Programming in F#
ASP.NET Web API 2
Suave
WebSharper
Fable
Summary
Chapter 8: Application Development in F#
GitHub Electron
Using React components with Electron
npm start
Summary
Chapter 9: Testing in F#
Unit testing
Property-based testing
Summary
Chapter 10: Distributed Programming in F#
Actor Model
Akka.NET
Summary

Book Details

ISBN 139781784393434
Paperback264 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

F# 4.0 Design Patterns Book Cover
F# 4.0 Design Patterns
$ 35.99
$ 25.20
F# High Performance Book Cover
F# High Performance
$ 35.99
$ 25.20
Mastering C# and .NET Framework Book Cover
Mastering C# and .NET Framework
$ 35.99
$ 25.20
Functional C# Book Cover
Functional C#
$ 39.99
$ 28.00
Mastering .NET Machine Learning Book Cover
Mastering .NET Machine Learning
$ 43.99
$ 30.80
C# 6 and .NET Core 1.0: Modern Cross-Platform Development Book Cover
C# 6 and .NET Core 1.0: Modern Cross-Platform Development
$ 39.99
$ 28.00