Skip to Content
Mastering JavaScript Functional Programming
book

Mastering JavaScript Functional Programming

by Federico Kereki
November 2017
Intermediate to advanced
386 pages
9h 22m
English
Packt Publishing
Content preview from Mastering JavaScript Functional Programming

Building Better Containers - Functional Data Types

In Chapter 12, Implementing Design Patterns - The Functional Way, we have gone over many ways of using functions to achieve different results, and in this chapter, we will go more deeply into data types from a functional point of view. We'll be considering ways of actually implementing our own data types, with several features to help composing operations or ensuring purity, so your FP coding will become actually simpler and shorter. We'll be touching on several themes:

  • Data types from a functional point of view, because even though JavaScript is not a typed language, a better understanding of types and functions are needed
  • Containers, including functors and the mystifying monads, to better ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering JavaScript Functional Programming - Second Edition

Mastering JavaScript Functional Programming - Second Edition

Federico Kereki

Publisher Resources

ISBN: 9781787287440Supplemental Content