Fp Refactor

Migrates existing imperative TypeScript—hidden throws, nullable returns, and Node err-first callbacks—onto fp-ts Option, Either, and TaskEither so callers must handle absence and failure. Use when throws, nulls, or callbacks hide failure from the compiler and a staged conversion is justified. Not for greenfield Either snippets or profiler-hot inner loops. Never convert stable readable code solely for style, or introduce fp-ts where the team cannot maintain it.

Kayforkind 52850c4 17.1 KB Updated

File contents

Kayforkind/skill-slice commit 52850c4196

Frequently asked questions

npx skillmds@latest add kayforkind/fp-refactor