Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
base GHC.ForeignPtr The type ForeignPtr represents references to objects that are maintained in a foreign language, i.e., that are not part of the data structures usually managed by the Haskell storage manager. The essential difference between ForeignPtrs and vanilla memory references of type Ptr a is that the former may be associated with finalizers. A finalizer is a routine that is invoked when the Haskell storage manager detects that - within the Haskell heap and stack - there are no more references left that are pointing to the ForeignPtr. Typically, the finalizer will, then, invoke routines in the foreign language that free the resources bound by the foreign object. The ForeignPtr is parameterised in the same way as Ptr. The type argument of ForeignPtr should normally be an instance of class Storable.
ForeignPtr :: Addr# -> ForeignPtrContents -> ForeignPtr abase GHC.ForeignPtr No documentation available.
-
base GHC.ForeignPtr Controls finalization of a ForeignPtr, that is, what should happen if the ForeignPtr becomes unreachable. Visually, these data constructors are appropriate in these scenarios:
Memory backing pointer is GC-Managed Unmanaged Finalizer functions are: +------------+-----------------+ Allowed | MallocPtr | PlainForeignPtr | +------------+-----------------+ Prohibited | PlainPtr | FinalPtr | +------------+-----------------+
-
base GHC.Unicode Cf: Other, Format
-
Support for using Text data with native code via the Haskell foreign function interface.
-
containers Data.Graph This type synonym exists primarily for historical reasons.
-
containers Data.Tree This type synonym exists primarily for historical reasons.
-
Deprecated: Use Test.Hspec.Api.Formatters.V1 instead.
-
No documentation available.
-
time Data.Time.Format No documentation available.