Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. tcLookupDataFamInst_maybe :: FamInstEnvs -> TyCon -> [TcType] -> Maybe (TyCon, [TcType], Coercion)

    ghc GHC.Tc.Instance.Family

    Converts a data family type (eg F [a]) to its representation type (eg FList a) and returns a coercion between the two: co :: F [a] ~R FList a.

  2. tcTopNormaliseNewTypeTF_maybe :: FamInstEnvs -> GlobalRdrEnv -> Type -> Maybe ((Bag GlobalRdrElt, TcCoercion), Type)

    ghc GHC.Tc.Instance.Family

    tcTopNormaliseNewTypeTF_maybe gets rid of top-level newtypes, potentially looking through newtype instances and type synonyms. It is only used by the type inference engine (specifically, when solving representational equality), and hence it is careful to unwrap only if the relevant data constructor is in scope. That's why it gets a GlobalRdrEnv argument. It is careful not to unwrap data/newtype instances nor synonyms if it can't continue unwrapping. Such care is necessary for proper error messages. It does not look through type families. It does not normalise arguments to a tycon. If the result is Just ((gres, co), rep_ty), then co : ty ~R rep_ty gres are the GREs for the data constructors that had to be in scope

  3. isFilledMetaTyVar_maybe :: TcTyVar -> TcS (Maybe Type)

    ghc GHC.Tc.Solver.Monad

    No documentation available.

  4. completeSigPolyId_maybe :: TcSigInfo -> Maybe TcId

    ghc GHC.Tc.Types

    No documentation available.

  5. tcTyThingTyCon_maybe :: TcTyThing -> Maybe TyCon

    ghc GHC.Tc.Types

    Matches on either a global TyCon or a TcTyCon.

  6. completeSigPolyId_maybe :: TcSigInfo -> Maybe TcId

    ghc GHC.Tc.Types.BasicTypes

    No documentation available.

  7. tcTyThingTyCon_maybe :: TcTyThing -> Maybe TyCon

    ghc GHC.Tc.Types.BasicTypes

    Matches on either a global TyCon or a TcTyCon.

  8. canEqLHS_maybe :: Xi -> Maybe CanEqLHS

    ghc GHC.Tc.Types.Constraint

    Is a type a canonical LHS? That is, is it a tyvar or an exactly-saturated type family application? Does not look through type synonyms.

  9. canTyFamEqLHS_maybe :: Xi -> Maybe CanEqLHS

    ghc GHC.Tc.Types.Constraint

    No documentation available.

  10. ctLocTypeOrKind_maybe :: CtLoc -> Maybe TypeOrKind

    ghc GHC.Tc.Types.Constraint

    No documentation available.

Page 142 of many | Previous | Next