Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

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

  1. data ForeignPtr a

    ghc-internal GHC.Internal.Foreign.ForeignPtr.Imp

    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.

  2. module GHC.Internal.ForeignPtr

    GHC's implementation of the ForeignPtr data type.

  3. data ForeignPtr a

    ghc-internal GHC.Internal.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.

  4. ForeignPtr :: Addr# -> ForeignPtrContents -> ForeignPtr a

    ghc-internal GHC.Internal.ForeignPtr

    No documentation available.

  5. data ForeignPtrContents

    ghc-internal GHC.Internal.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        |
    +------------+-----------------+
    

  6. Format :: GeneralCategory

    ghc-internal GHC.Internal.Unicode

    Cf: Other, Format

  7. type Format = Text

    openapi3 Data.OpenApi

    No documentation available.

  8. type Format = Text

    openapi3 Data.OpenApi.Internal

    No documentation available.

  9. type ForestF a b = [b]

    recursion-schemes Data.Functor.Base

    No documentation available.

  10. ForallInvis :: [TyVarBndrSpec] -> ForallTelescope

    th-desugar Language.Haskell.TH.Desugar

    An invisible forall (e.g., forall a {b} c -> {...}), where each binder has a Specificity.

Page 282 of many | Previous | Next