These exercises come from the fantastic book Mastering Functional Programming with TypeScript by Art Deineka. Specifically, this book focuses on learning FP through the fp-ts library.
The goal of this repo is to document my journey as I dive deeper into functional programming with TypeScript. Although I've written "functional-light" JavaScript for years, I've only recently started exploring the core concepts of fully functional languages—particularly by leveraging algebraic data types through libraries like fp-ts.
Most chapters include tests written with vitest to validate exercise solutions. To run tests, run:
bun run --watch testTo install dependencies:
bun installThis project was created using bun init in bun v1.0.29. Bun is a fast all-in-one JavaScript runtime.