Portability | non-portable (extended exceptions) |
---|---|
Stability | experimental |
Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
Safe Haskell | Trustworthy |
This is a wrapped version of Foreign.Marshal.Utils with types generalized
from IO
to all monads in either MonadBase
or MonadBaseControl
.
- with :: (MonadBaseControl IO m, Storable a) => a -> (Ptr a -> m b) -> m b