add effectful version of atomicModifyMutVar#
something like
atomicEffectfulModifyMutVar# :: MutVar# s a -> ((# a, State# s #) -> (# State# s , a , b#)) -> State# s -> (#State# s, b #)
this isn't quite safely expressible currently without some unsafeCoercion highjinks that I'm not sure are robust
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |