Functional Programming and the Principle of Reality: Managing Effects
summary
Explains how to structure programs that perform real-world effects (database access, user interaction, file I/O) while keeping functional purity, surveying research-based approaches that inspired libraries like Cats (Scala) and Arrow.Fx (Kotlin). Uses a minimal pseudo-language to show language-agnostic examples and argues that Kotlin coroutines are a key ingredient for controlling effects, with historical context for the methods presented.
AI-written summary · about
