You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since haskell/core-libraries-committee#341 was accepted, it would be nice to follow suit and add strict variant of data types to this package as well, i.e.
Add Control.Concurrent.STM.TArray.Strict, Control.Concurrent.STM.TBQueue.Strict, Control.Concurrent.STM.TChan.Strict, Control.Concurrent.STM.TMVar.Strict, Control.Concurrent.STM.TQueue.Strict, Control.Concurrent.STM.TSem.Strict, Control.Concurrent.STM.TVar.Strict with newtype wrappers that make sure values are held in WHNF.
Add Control.Concurrent.STM.Strict that re-exports these (mirroring what Control.Concurrent.STM does).
I could create strict-mutable-stm with these (package adjacent to strict-mutable-base), but I think it would be better for everyone in terms of UX to add them here, especially given that even this package had issues with forcing things properly to avoid space leaks: #2, #69.
If that sounds reasonable, I can submit a PR, but I need someone to tell me it will be merged in a timely fashion first.
Activity
MangoIV commentedon Sep 6, 2026
Hi, I would be happy to review such a contribution.