Troll Driven Development: Implementing Functional Effects by Way of Self-Lobotomy
summary
Live-codes a ZIO/Cats-IO style effects runtime in ~15–30 minutes, building AST nodes for succeed, map, flatMap, suspend/effect, async, fork and a simple fiber with join, using Scala and the global execution context. Tests show pure succeed/zip/map work, suspend and async run, and fiber + join concurrency executes though tiny workloads sometimes appear sequential. The result is a semi-functioning functional effects library that demonstrates interpretation, forking, and basic parallel composition.
AI-written summary · about
chapters (6)
related talks
58mEffect-Oriented Programming
30mLive coding session with James Douglas
31mPick a (Effect) Lane: A comparison of direct-style Scala vs effect systems
44mEffects, Algebraically yours ..
50mFunctional Programming with Effects
43mFunctional Programming with Effects
43mThe Design of the Scalaz 8 Effect System
42mThe making of an IO
