Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
recFieldConLike_maybe :: HasDebugCallStack => GlobalRdrElt -> Maybe ConInfoghc-lib-parser GHC.Types.Name.Reader No documentation available.
recFieldInfo_maybe :: HasDebugCallStack => GlobalRdrElt -> Maybe RecFieldInfoghc-lib-parser GHC.Types.Name.Reader No documentation available.
kindPrimRep_maybe :: HasDebugCallStack => Kind -> Maybe [PrimRep]ghc-lib-parser GHC.Types.RepType Take a kind (of shape `TYPE rr` or `CONSTRAINT rr`) and produce the PrimReps of values of types of this kind. See also Note [Getting from RuntimeRep to PrimRep] Returns Nothing if rep can't be determined. Eg. levity polymorphic types.
runtimeRepPrimRep_maybe :: Type -> Maybe [PrimRep]ghc-lib-parser GHC.Types.RepType Take a type of kind RuntimeRep and extract the list of PrimRep that it encodes. See also Note [Getting from RuntimeRep to PrimRep]. The [PrimRep] is the final runtime representation after unarisation. Returns Nothing if rep can't be determined. Eg. levity polymorphic types.
typePrimRep_maybe :: Type -> Maybe [PrimRep]ghc-lib-parser GHC.Types.RepType Discovers the primitive representation of a Type. Returns a list of PrimRep: it's a list because of the possibility of no runtime representation (void) or multiple (unboxed tuple/sum) See also Note [Getting from RuntimeRep to PrimRep] Returns Nothing if rep can't be determined. Eg. levity polymorphic types.
srcSpanFileName_maybe :: SrcSpan -> Maybe FastStringghc-lib-parser GHC.Types.SrcLoc Obtains the filename for a SrcSpan if it is "good"
tyThingParent_maybe :: TyThing -> Maybe TyThingghc-lib-parser GHC.Types.TyThing tyThingParent_maybe x returns (Just p) when pprTyThingInContext should print a declaration for p (albeit with some "..." in it) when asked to show x It returns the *immediate* parent. So a datacon returns its tycon but the tycon could be the associated type of a class, so it in turn might have a parent.
plusMaybeUniqMap_C :: (a -> a -> Maybe a) -> UniqMap k a -> UniqMap k a -> UniqMap k aghc-lib-parser GHC.Types.Unique.Map No documentation available.
mapMaybeUniqSet_sameUnique :: (a -> Maybe b) -> UniqSet a -> UniqSet bghc-lib-parser GHC.Types.Unique.Set Like mapMaybe, but you must ensure the passed in function does not change the Unique.
anonPiTyBinderType_maybe :: PiTyBinder -> Maybe Typeghc-lib-parser GHC.Types.Var Extract a relevant type, if there is one.