• @demesisx
    link
    English
    113 months ago

    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.

    • John
      link
      fedilink
      33 months ago

      @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
        link
        English
        103 months ago

        Thanks for the clarification.