Copyright | Bas van Dijk, Anders Kaseorg, Michael Steele |
---|---|
License | BSD-style |
Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
Stability | experimental |
Portability | non-portable (extended exceptions) |
Safe Haskell | Safe |
Language | Haskell98 |
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