Hoogle Search

Within LTS Haskell 24.61 (ghc-9.10.3)

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

  1. lookupRM' :: [RoughMatchLookupTc] -> RoughMap a -> (Bag a, [a])

    ghc-lib-parser GHC.Core.RoughMap

    N.B. Returns a Bag for matches, which allows us to avoid rebuilding all of the lists we find in rm_empty, which would otherwise be necessary due to ++ if we returned a list. We use a list for unifiers because the tail is computed lazily and we often only care about the first couple of potential unifiers. Constructing a bag forces the tail which performs much too much work. See Note [Matching a RoughMap] See Note [Matches vs Unifiers]

  2. lookupRule :: RuleOpts -> InScopeEnv -> (Activation -> Bool) -> Id -> [CoreExpr] -> [CoreRule] -> Maybe (CoreRule, CoreExpr)

    ghc-lib-parser GHC.Core.Rules

    The main rule matching function. Attempts to apply all (active) supplied rules to this instance of an application in a given context, returning the rule applied and the resulting expression if successful.

  3. lookupIdSubst :: HasDebugCallStack => Subst -> Id -> CoreExpr

    ghc-lib-parser GHC.Core.Subst

    Find the substitution for an Id in the Subst The Id should not be a CoVar

  4. lookupIdSubst_maybe :: HasDebugCallStack => Subst -> Id -> Maybe CoreExpr

    ghc-lib-parser GHC.Core.Subst

    No documentation available.

  5. lookupCoVar :: Subst -> Var -> Maybe Coercion

    ghc-lib-parser GHC.Core.TyCo.Subst

    No documentation available.

  6. lookupTyVar :: Subst -> TyVar -> Maybe Type

    ghc-lib-parser GHC.Core.TyCo.Subst

    No documentation available.

  7. lookupTyConFieldLabel :: FieldLabelString -> TyCon -> Maybe FieldLabel

    ghc-lib-parser GHC.Core.TyCon

    Look up a field label belonging to this TyCon

  8. lookupDTyConEnv :: DTyConEnv a -> TyCon -> Maybe a

    ghc-lib-parser GHC.Core.TyCon.Env

    No documentation available.

  9. lookupTyConEnv :: TyConEnv a -> TyCon -> Maybe a

    ghc-lib-parser GHC.Core.TyCon.Env

    No documentation available.

  10. lookupTyConEnv_NF :: TyConEnv a -> TyCon -> a

    ghc-lib-parser GHC.Core.TyCon.Env

    No documentation available.

Page 84 of many | Previous | Next