Function Composition - Building from Small Pieces
Installation
SKILL.md
Function Composition - Building from Small Pieces
The core idea is simple:
pipe(data, fn1, fn2, fn3) === fn3(fn2(fn1(data)))
That's it. No category theory needed. Just chain functions together, left to right.
1. pipe() - Your New Best Friend
The Basic Pattern
import { pipe } from 'fp-ts/function'