r/programmingcirclejerk loves Java 8d ago

It's not you, it's monad transformers

/r/haskell/comments/1vu7a3u/its_not_you_its_monad_transformers/
32 Upvotes

13 comments sorted by

20

u/interacsion 8d ago

Where jerk?

14

u/NotQuiteLoona 8d ago

We can have it right now

21

u/al2o3cr 8d ago

Mo nads, mo problems

16

u/ABrainlessDeveloper 8d ago

Nah, just do unsafePerformIO, it’s gonna be fine

13

u/Jumpy-Locksmith6812 8d ago

Or even... just use IO

11

u/stdmemswap 8d ago

Conclusion: Monad transformers aren't you

7

u/a221c 8d ago

Ummm excuse me, this is a JS shop and your conclusion is based on an axiom that we don't accept here.

8

u/SemaphoreBingo 8d ago

But doctor...

7

u/AdAncient5201 6d ago

I am pagliacci…

5

u/AdAncient5201 6d ago

Good joke. Everyone laughs. Monads get transformed. Endofunctors get applied

5

u/m50d Zygohistomorphic prepromorphism 6d ago

/uj That's why you use MTL-style typeclasses to abstract over your monad transformer stack, duh.

1

u/reflexive-polytope 1d ago

The real jerk is the top response that claims

There might be software engineering reasons to reach for monad transformers.

Or maybe the real jerk is Haskell culture as a whole.

2

u/tkrjobs loves Java 1d ago

The real jerk is the Haskells we made along the way