u/hardwaresoftonin r/haskell • Recommends
#freemonads#freeapplicatives#scala
Move Over Free Monads: Make Way for Free Applicatives! — John de Goes
5.9K subscribers • 13 videos on Hallway
- Recommended by 2 people: 1 in engineering communities and 1 curated list.
- Presented by John de Goes
Advanced. Deep dive for people who know the field.
22K views10 years ago2 recommendations
Programming languagesSoftware designFunctional programmingScala
John de Goes explains how free applicatives enable static analysis and transformation of program structure in ways that free monads cannot.
In the Scala FP community, free monads are one of the fastest growing and hottest ways to compose programs from small, modular, interpretable languages. Yet, the trees described by free monads are dynamic: their structure depends on runtime values, which limit the types of analysis one can do on these trees. Free applicatives address this limitation by only permitting trees whose structure can be described statically, independent from runtime values. In this talk, John shows how this tradeoff enables extremely powerful introspection and transformation of the very structure of a program, in ways that are completely impossible with free monads.Why it's here
2 people recommend thisWhat people say. Recommended as a great explanation of the trade-offs between free monads and free applicatives.
programming-talkscurated list on GitHubRecommends
Under “Scala”
u/PM_ME_UR_OBSIDIANin r/compsci • Mentions
On “Design Patterns for Humans”
u/aaron_dsin r/scala • Mentions
On “The Free Monad and its Cost”
u/Milyardoin r/scala • Mentions
On “Can someone explain to me the benefits of IO?”
u/Storiniin r/scala • Mentions
On “Explaining monad (or functional programming, or ScalaZ, etc.) tutorials be like...”