stateWriter

A faster variant of the RWS monad transformers.

LTS Haskell 24.24:0.4.0
Stackage Nightly 2025-12-16:0.4.0
Latest on Hackage:0.4.0

See all snapshots stateWriter appears in

BSD-3-Clause licensed by Simon Marechal
Maintained by [email protected]
This version can be pinned in stack with:stateWriter-0.4.0@sha256:2b7fa83ada4a50cae9c49e672ecca74ba37a32473dd2be93f73e834d2e7a7142,2045

Module documentation for 0.4.0

  • Control
    • Control.Monad
      • Control.Monad.RSS
        • Control.Monad.RSS.Lazy
        • Control.Monad.RSS.Strict
      • Control.Monad.Trans
        • Control.Monad.Trans.RSS
          • Control.Monad.Trans.RSS.Lazy
          • Control.Monad.Trans.RSS.Strict
Depends on 3 packages(full list with versions):

This is a version of the RWS monad transformers that should be much faster than what's found in transformers. The writer in the strict version does not leak memory.