fp-pragmatic - Practical Functional Programming with TypeScript
Explains practical functional programming patterns in TypeScript with fp-ts and when to avoid them.
Tags
Updated: 2026-09-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Chain operations with pipe
- Handle missing values with Option
- Represent errors with Either
- Transform values with map
- Chain fallible operations with flatMap
- Refactor callbacks into pipelines
- Define typed error variants
- Identify when to avoid FP
Inputs
- TypeScript code
- Functional programming task
- fp-ts usage context
Outputs
- Functional programming guidance
- TypeScript code examples
- Refactoring patterns
Requirements
- TypeScript environment
- fp-ts library
