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.

  1. module Foreign.ForeignPtr

    The ForeignPtr type and operations. This module is part of the Foreign Function Interface (FFI) and will usually be imported via the Foreign module. For non-portable support of Haskell finalizers, see the Foreign.Concurrent module.

  2. data ForeignPtr a

    base Foreign.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.

  3. data ForeignPtr a

    base Foreign.ForeignPtr.Safe

    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. data FormatAdjustment

    base Text.Printf

    Whether to left-adjust or zero-pad a field. These are mutually exclusive, with LeftAdjust taking precedence.

  5. data FormatParse

    base Text.Printf

    The "format parser" walks over argument-type-specific modifier characters to find the primary format character. This is the type of its result.

  6. FormatParse :: String -> Char -> String -> FormatParse

    base Text.Printf

    No documentation available.

  7. data FormatSign

    base Text.Printf

    How to handle the sign of a numeric field. These are mutually exclusive, with SignPlus taking precedence.

  8. ForceSpecConstr :: SpecConstrAnnotation

    base GHC.Exts

    No documentation available.

  9. module GHC.Foreign

    Foreign marshalling support for CStrings with configurable encodings

  10. module GHC.ForeignPtr

    GHC's implementation of the ForeignPtr data type.

Page 246 of many | Previous | Next