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.
recFieldInfo_maybe :: HasDebugCallStack => GlobalRdrElt -> Maybe RecFieldInfoghc GHC.Types.Name.Reader No documentation available.
kindPrimRep_maybe :: HasDebugCallStack => Kind -> Maybe [PrimRep]ghc 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 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 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 GHC.Types.SrcLoc Obtains the filename for a SrcSpan if it is "good"
tyThingParent_maybe :: TyThing -> Maybe TyThingghc 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 GHC.Types.Unique.Map No documentation available.
anonPiTyBinderType_maybe :: PiTyBinder -> Maybe Typeghc GHC.Types.Var Extract a relevant type, if there is one.
isLocalId_maybe :: Var -> Maybe ExportFlagghc GHC.Types.Var No documentation available.
namedPiTyBinder_maybe :: PiTyBinder -> Maybe TyCoVarghc GHC.Types.Var No documentation available.