value
with :: (MonadBaseControl IO m, Storable a)=> avalue to be poked
-> (Ptr a -> m b)computation to run
-> m b
Generalized version of with.
Note, when the given function throws an exception any monadic side
effects in m will be discarded.