u/GeorgeTalksCodein r/haskell • Recommends
"Next Level mtl with Classy Optics" by George Wilson at BFPG
710 subscribers • 4 videos on Hallway
Advanced. Deep dive for people who know the field.
10K views11 years ago2 recommendations
Programming languagesSoftware designHaskellFunctional programmingDesign patterns
George Wilson demonstrates how to use the mtl and lens libraries in Haskell to decouple functions from concrete monad transformer stacks.
Many applications leverage monad transformer stacks to control IO effects, handle error conditions, pass configurations, and more. As the requirements of these applications grow, the complexity of these transformer stacks can grow proportionally. If a specific monad transformer stack is used in type signatures, then small changes to the stack can result in large changes to the code. This talk will demonstrate tools from the mtl and the lens library that allow each function's type to describe the required parts of a transformer stack, without depending on the concrete stack itself.What people say. Recommended as a classic talk on managing monad transformer stacks using classy optics in Haskell.
u/GeorgeTalksCodein r/haskell • Recommends
programming-talkscurated list on GitHubRecommends
Under “Haskell”
u/hardwaresoftonin r/haskell • Mentions