Learning Functional Programming in Go

Function literals, Monads, Lazy evaluation, Currying, and more

Learning Functional Programming in Go

Lex Sheehan

Function literals, Monads, Lazy evaluation, Currying, and more
Mapt Subscription
FREE
$30.00/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 subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 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 subscription 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 subscription 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 subscription 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


Learning Functional Programming in Go Book Cover
Learning Functional Programming in Go
$ 35.99
$ 25.20
Go: Design Patterns for Real-World Projects Book Cover
Go: Design Patterns for Real-World Projects
$ 71.99
$ 50.40
Buy 2 for $35.00
Save $72.98
Add to Cart

Book Details

ISBN 139781787281394
Paperback672 pages

Book Description

Lex Sheehan begins slowly, using easy-to-understand illustrations and working Go code to teach core functional programming (FP) principles such as referential transparency, laziness, recursion, currying, and chaining continuations.

This book is a tutorial for programmers looking to learn FP and apply it to write better code. Lex guides readers from basic techniques to advanced topics in a logical, concise, and clear progression.

The book is divided into four modules. The first module explains the functional style of programming: pure functional programming, manipulating collections, and using higher-order functions. In the second module, you will learn design patterns that you can use to build FP-style applications. In the next module, you will learn FP techniques that you can use to improve your API signatures, increase performance, and build better cloud-native applications. The last module covers Category Theory, Functors, Monoids, Monads, Type classes and Generics.

By the end of the book, you will be adept at building applications the FP way.

Table of Contents

Chapter 8: Increasing Performance Using Pipelining

What You Will Learn

  • Learn how to compose reliable applications using high-order functions
  • Explore techniques to eliminate side-effects using FP techniques such as currying
  • Use first-class functions to implement pure functions
  • Understand how to implement a lambda expression in Go
  • Compose a working application using the decorator pattern
  • Create faster programs using lazy evaluation
  • Use Go concurrency constructs to compose a functionality pipeline
  • Understand category theory and what it has to do with FP

Authors

Table of Contents

Chapter 8: Increasing Performance Using Pipelining

Book Details

ISBN 139781787281394
Paperback672 pages
Read More

Read More Reviews

Recommended for You

Go: Design Patterns for Real-World Projects Book Cover
Go: Design Patterns for Real-World Projects
$ 71.99
$ 50.40
Building RESTful Web services with Go Book Cover
Building RESTful Web services with Go
$ 35.99
$ 25.20
Isomorphic Go Book Cover
Isomorphic Go
$ 39.99
$ 28.00
Go Standard Library Cookbook Book Cover
Go Standard Library Cookbook
$ 39.99
$ 28.00
Functional Programming in Go [Video] Book Cover
Functional Programming in Go [Video]
$ 124.99
$ 106.25
Hands-On Reactive Programming in Spring 5 Book Cover
Hands-On Reactive Programming in Spring 5
$ 35.99
$ 25.20