Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. data PatersonCondFailureContext

    ghc-lib-parser GHC.Tc.Utils.TcType

    Indicates whether a Paterson condition failure occurred in an instance declaration or a type family equation. Useful for differentiating context in error messages.

  2. data PatersonSize

    ghc-lib-parser GHC.Tc.Utils.TcType

    The Paterson size of a given type, in the sense of Note [Paterson conditions] in GHC.Tc.Validity

    • after expanding synonyms,
    • ignoring coercions (as they are not user written).

  3. data PiTyBinder

    ghc-lib-parser GHC.Tc.Utils.TcType

    A PiTyBinder represents an argument to a function. PiTyBinders can be dependent (Named) or nondependent (Anon). They may also be visible or not. See Note [PiTyBinders]

  4. type PolyTcTyCon = TcTyCon

    ghc-lib-parser GHC.Tc.Utils.TcType

    No documentation available.

  5. type PredType = Type

    ghc-lib-parser GHC.Tc.Utils.TcType

    A type of the form p of constraint kind represents a value whose type is the Haskell predicate p, where a predicate is what occurs before the => in a Haskell type. We use PredType as documentation to mark those types that we guarantee to have this kind. It can be expanded into its representation, but:

    • The type checker must treat it as opaque
    • The rest of the compiler treats it as transparent
    Consider these examples:
    f :: (Eq a) => a -> Int
    g :: (?x :: Int -> Int) => a -> Int
    h :: (r\l) => {r} => {l::Int | r}
    
    Here the Eq a and ?x :: Int -> Int and rl are all called "predicates"

  6. Phase :: PhaseNum -> CompilerPhase

    ghc-lib-parser GHC.Types.Basic

    No documentation available.

  7. type PhaseNum = Int

    ghc-lib-parser GHC.Types.Basic

    Phase Number

  8. newtype PprPrec

    ghc-lib-parser GHC.Types.Basic

    A general-purpose pretty-printing precedence type.

  9. PprPrec :: Int -> PprPrec

    ghc-lib-parser GHC.Types.Basic

    No documentation available.

  10. PromotedDataConFlavour :: TyConFlavour tc

    ghc-lib-parser GHC.Types.Basic

    No documentation available.

Page 558 of many | Previous | Next