Railway Oriented TypeScript
summary
Claim: apply railway-oriented programming to TypeScript by turning ordinary functions into a two-track Result (success/failure), writing a chain combinator and using a fpts library to compose validators, DB updates and logging. Live-coded examples return typed Result objects, the type system enforces exhaustive handling and catches miscompositions, and the talk contrasts this with Promises which cannot distinguish domain errors from panics.
AI-written summary · about
chapters (5)
related talks
32mRailway Oriented TypeScript
30mRust-Inspired Typescript
32mCommunicating Intention with Functional TypeScript
20mBetter Together: Rust & TypeScript
37mType-level Programming ƒun in TypeScript
21mSuper TypeScript II Turbo – FP Remix
21mLearning to Love Type Systems
46mA Real World Example of Functional Programming with fp-ts
