this post was submitted on 27 Mar 2024
41 points (87.3% liked)

Functional Programming

1389 readers
5 users here now

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] demesisx@infosec.pub 12 points 7 months ago (2 children)

On the latest Haskell interlude podcast, the guest was talking about how using the ReaderT monad specifically introduces safety issues. My ears perked up because I’m right in the middle of leaning on it heavily in one of my Haskell projects.

[–] mrkeen@mastodon.social 3 points 7 months ago (1 children)

@demesisx @lysdexic No safety issues mentioned around ReaderT. The speaker was talking about how stacking monad transformers mtl-style can generate unnecessary closures that GHC can't optimise away.

[–] demesisx@infosec.pub 11 points 7 months ago

Thanks for the clarification.