b/bonnybooks by cuongnhung1234

Functional Programming in TypeScript : With categories

Functional Programming in TypeScript : With categories

English | Last updated 3/2025 | ISBN: NA | 200 Pages | PDF + Extras | 6 MB

This book goes beyond the introductory ideas of functional programming, while progressively building on practical examples in a comprehensive manner

This book goes beyond the introductory ideas of functional programming, while progressively building on practical examples in a comprehensive manner. Each example is accompanied by an online autonomous fiddle TypeScript code[https://codesandbox.io/u/dimitris-papadimitriou-chr/sandboxes], which you can run fork and modify, in order to deepen your understanding of each section.

By the end of this book, you will have a deep understanding of the ideas behind functional TypeScript or JavaScript that will allow you to program in a functional style with confidence. Also, you will have an overview of how famous functional libraries like fp-ts, purify, etc. have implemented the different functional concepts.

What you will learn
Go beyond the Array.map by understanding how to generalize the idea of map to Functors like Maybe, Either and Promises, etc.
Go beyond the idea of Array.reduce by understanding the concepts of fold and catamorphism over data structures.
Learn how to combine functional ideas in order to solve practical problems.
Use Monads like Maybe, Either, IO, Continuations, and Promises to chain computations.
Get a deep understanding of recursive methods and learn how to define recursive methods on algebraic data structures.