• putMVar mv $! x + 1
– ok for “atomic” types (one depth of
constructors)
• IORef
• Mvar
• Chans (lists of Mvars)
• Semaphores...
• Data.Map.insertWith...
– ex1.hs
• ex2.hs
• mean 68.3ms, 451us std dev.
• ex3.hs