Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. finalizeForeignPtr :: MonadIO m => ForeignPtr a -> m ()

    unliftio UnliftIO.Foreign

    Lifted finalizeForeignPtr.

  2. mallocForeignPtr :: (MonadIO m, Storable a) => m (ForeignPtr a)

    unliftio UnliftIO.Foreign

    Lifted mallocForeignPtr.

  3. mallocForeignPtrArray :: (MonadIO m, Storable a) => Int -> m (ForeignPtr a)

    unliftio UnliftIO.Foreign

    Lifted mallocForeignPtrArray.

  4. mallocForeignPtrArray0 :: (MonadIO m, Storable a) => Int -> m (ForeignPtr a)

    unliftio UnliftIO.Foreign

    Lifted mallocForeignPtrArray0.

  5. mallocForeignPtrBytes :: MonadIO m => Int -> m (ForeignPtr a)

    unliftio UnliftIO.Foreign

    Lifted mallocForeignPtrBytes.

  6. newForeignPtr :: MonadIO m => FinalizerPtr a -> Ptr a -> m (ForeignPtr a)

    unliftio UnliftIO.Foreign

    Lifted newForeignPtr.

  7. newForeignPtrEnv :: MonadIO m => FinalizerEnvPtr env a -> Ptr env -> Ptr a -> m (ForeignPtr a)

    unliftio UnliftIO.Foreign

    Lifted newForeignPtrEnv.

  8. newForeignPtr_ :: MonadIO m => Ptr a -> m (ForeignPtr a)

    unliftio UnliftIO.Foreign

    Lifted newForeignPtr_.

  9. newGHCForeignPtr :: MonadUnliftIO m => Ptr a -> m () -> m (ForeignPtr a)

    unliftio UnliftIO.Foreign

    Unlifted newForeignPtr.

  10. plusForeignPtr :: ForeignPtr a -> Int -> ForeignPtr b

    unliftio UnliftIO.Foreign

    Advances the given address by the given offset in bytes. The new ForeignPtr shares the finalizer of the original, equivalent from a finalization standpoint to just creating another reference to the original. That is, the finalizer will not be called before the new ForeignPtr is unreachable, nor will it be called an additional time due to this call, and the finalizer will be called with the same address that it would have had this call not happened, *not* the new address.

Page 423 of many | Previous | Next