| Safe Haskell | None |
|---|
Agda.Utils.Pointer
Documentation
updatePtrM :: Functor f => (a -> f a) -> Ptr a -> f (Ptr a)Source
If f a contains many copies of a they will all be the same pointer in
the result. If the function is well-behaved (i.e. preserves the implicit
equivalence, this shouldn't matter).