This repository contains code samples for #monadicmonday topics.
You can also find monthly compilations on Medium and on Dev.to.
To run the examples, you'll need to install all dependencies by issuing npm ci
command. After that you can run code for each episode using npm run epN
, where N ∈ [1, 13]
.
npm run ep5:test
– run tests for Tagless Finalnpm run ep8:stack-fail
– run a naïve stack-unsafe Free monad evaluationnpm run ep8:stack
- run a stack-safe trampolined Free monad evaluationnpm run ep9:dtslint
– run a DTSLint for type-level tests
- Episode 1: These/Ior
- Episode 2: Rings
- Episode 3: Recursion schemes
- Episode 4: Either, Validation & RemoteData
- Episode 5: Tagless Final
- Episode 6: ZIO in TypeScript
- Episode 7: Functional optics
- Episode 8: Free monads
- Episode 9: Type-level programming
- Episode 10: Reasons to choose FP (no code)
- Episode 11: Kleisli arrows
- Episode 12: Futures
- Episode 13: Property-based testing
- Episode 14: Final words (no code)
- Episode spontaneous: session types
If you have any questions, please ping me back at @ybogomolov in Telegram, @YuriyBogomolov in Twitter or via yuriy.bogomolov@gmail.com.