Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
traverseMaybeWithKey :: Applicative f => (Key -> a -> f (Maybe b)) -> Word64Map a -> f (Word64Map b)ghc-lib-parser GHC.Data.Word64Map.Strict.Internal Traverse keys/values and collect the Just results.
hsc_home_unit_maybe :: HscEnv -> Maybe HomeUnitghc-lib-parser GHC.Driver.Env No documentation available.
annProvenanceName_maybe :: UnXRec p => AnnProvenance p -> Maybe (IdP p)ghc-lib-parser GHC.Hs.Decls No documentation available.
getRecConArgs_maybe :: ConDecl GhcRn -> Maybe (LocatedL [LConDeclField GhcRn])ghc-lib-parser GHC.Hs.Decls Return Just fields if a data constructor declaration uses record syntax (i.e., RecCon), where fields are the field selectors. Otherwise, return Nothing.
pprMaybeWithDoc :: Maybe (LHsDoc name) -> SDoc -> SDocghc-lib-parser GHC.Hs.Doc See pprWithHsDoc
tupArgPresent_maybe :: forall (p :: Pass) . HsTupArg (GhcPass p) -> Maybe (LHsExpr (GhcPass p))ghc-lib-parser GHC.Hs.Expr No documentation available.
tupArgsPresent_maybe :: forall (p :: Pass) . [HsTupArg (GhcPass p)] -> Maybe [LHsExpr (GhcPass p)]ghc-lib-parser GHC.Hs.Expr No documentation available.
fromMaybeContext :: forall (p :: Pass) . Maybe (LHsContext (GhcPass p)) -> HsContext (GhcPass p)ghc-lib-parser GHC.Hs.Type No documentation available.
-
ghc-lib-parser GHC.Hs.Type Decompose a type class instance type (of the form forall tvs. context => instance_head) into the instance_head and retrieve the underlying class type constructor (if it exists).
-
ghc-lib-parser GHC.Hs.Type Retrieve the name of the "head" of a nested type application. This is somewhat like GHC.Tc.Gen.HsType.splitHsAppTys, but a little more thorough. The purpose of this function is to examine instance heads, so it doesn't handle *all* cases (like lists, tuples, (~), etc.).