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.
isDataConWorkId_maybe :: Id -> Maybe DataConghc-lib GHC.Plugins No documentation available.
isDataConWrapId_maybe :: Id -> Maybe DataConghc-lib GHC.Plugins No documentation available.
isFCallId_maybe :: Id -> Maybe ForeignCallghc-lib GHC.Plugins No documentation available.
isGReflCo_maybe :: Coercion -> Maybe (Type, Role)ghc-lib GHC.Plugins Returns the type coerced if this coercion is a generalized reflexive coercion. Guaranteed to work very quickly.
isPrimOpId_maybe :: Id -> Maybe PrimOpghc-lib GHC.Plugins No documentation available.
isReflCoVar_maybe :: Var -> Maybe Coercionghc-lib GHC.Plugins No documentation available.
isReflCo_maybe :: Coercion -> Maybe (Type, Role)ghc-lib GHC.Plugins Returns the type coerced if this coercion is reflexive. Guaranteed to work very quickly. Sometimes a coercion can be reflexive, but not obviously so. c.f. isReflexiveCo_maybe
isReflexiveCo_maybe :: Coercion -> Maybe (Type, Role)ghc-lib GHC.Plugins Extracts the coerced type from a reflexive coercion. This potentially walks over the entire coercion, so avoid doing this in a loop.
kindBoxedRepLevity_maybe :: Type -> Maybe Levityghc-lib GHC.Plugins Check whether a kind is of the form `TYPE (BoxedRep Lifted)` or `TYPE (BoxedRep Unlifted)`. Returns:
kindRep_maybe :: HasDebugCallStack => Kind -> Maybe RuntimeRepTypeghc-lib GHC.Plugins Given a kind (TYPE rr) or (CONSTRAINT rr), extract its RuntimeRep classifier rr. For example, kindRep_maybe * = Just LiftedRep Returns Nothing if the kind is not of form (TYPE rr)