Skip to content
0:00 / 0:00

#monadtransformers#haskell#mtl

Monad Transformers - Ben Kolera

Brisbane Functional Programming Group

710 subscribers • 6 videos on Hallway

YouTube
  • Recommended by 4 people: 4 in engineering communities.
  • A classic. People kept recommending it from 2016 to 2021.
  • Presented by Ben Kolera

Intermediate. Assumes working knowledge.

10K views11 years ago4 recommendations

Programming languagesSoftware designFunctional programmingDesign patterns

Ben Kolera explains how to use monad transformers for configuration and error handling in functional programming.

Ben talks about monad transformers for configuration and error handling in functional code.

Why it's here

4 people recommend this

What people say. Recommended as a very helpful resource for understanding monad transformers and their corresponding typeclasses.

u/hardwaresoftonin r/haskell • Recommends

On “How I write REST-ish Services in Haskell: Part 1 (project setup + config wrangling)”

Part 2/3/4 should be way more broadly useful to haskellers, because I want to cover things like how I build components and how I use `mtl` style and the `ReaderT` pattern to make writing `servant` handlers easy and type-enhanced. If that stuff is more interesting to you I'd recommend these two talks: - Ben Kolera - Monad Transformers - Next Level MTL Thanks for reading!

u/hardwaresoftonin r/haskell • Recommends

On “How I write REST-ish Services in Haskell: Part 2 (domain modeling)”

Hey sounds like you're going to be bored with part 3! I basically do that, but only use typeclasses on monads, without `lens`. I haven't actually fully grokked lenses/prisms/generic-lens yet (which is why I'm avoiding them), but George Wilson's talk on Classy Optics was huge to me (there's also one more talk by Ben Kolera which is relevant as well) . At that point I'd already been doing something similar but without `lens` (just stringing together accessors) and didn't feel too ashamed. I'm not sure which part you meant about why my approach is needed, but it's definitely *not*! I can justify *why* I wrote the article like I did: - The basic `Task` to show how - The `Task f` to be abl…

u/zgkzyin r/haskell • Recommends

On “A Brief Intro to Monad Transformers”

…/haskell/tutorial/monad-transformers/ * https://www.reddit.com/r/haskellquestions/comments/3w9knl/resources\_to\_understand\_monad\_transformers/ https://www.schoolofhaskell.com/user/commercial/content/monad-transformers * https://www.semanticscholar.org/paper/Monad-Transformers-Step-by-Step-Grabmuller/5776a1a85c217e2ec24527767946a9ab1bc79dda * [video * [video * [video *sigh*…

u/ishigami_sanin r/haskell • Recommends

On “Some questions about monad transformers”

I found following two videos very helpful in understanding monad transformers, and their corresponding typeclasses: Monad Transformers(//www.youtube.com/watch?v=pzouxmWiemg) Next level MTL(//www.youtube.com/watch?v=GZPup5Iuaqw)

u/beatricejensenin r/haskell • Recommends

On “Any resources for software architecture in Haskell?”

Watch This and then This.

u/pyow_pyowin r/haskell • Mentions

On “Stacking your Monads”

Associated video: link to this video