Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. splitAppTyNoView_maybe :: HasDebugCallStack => Type -> Maybe (Type, Type)

    ghc-lib-parser GHC.Core.Type

    Does the AppTy split as in splitAppTy_maybe, but assumes that any coreView stuff is already done

  2. splitAppTy_maybe :: Type -> Maybe (Type, Type)

    ghc-lib-parser GHC.Core.Type

    Attempt to take a type application apart, whether it is a function, type constructor, or plain type application. Note that type family applications are NEVER unsaturated by this!

  3. splitCastTy_maybe :: Type -> Maybe (Type, Coercion)

    ghc-lib-parser GHC.Core.Type

    No documentation available.

  4. splitForAllCoVar_maybe :: Type -> Maybe (CoVar, Type)

    ghc-lib-parser GHC.Core.Type

    Like splitForAllTyCoVar_maybe, but only returns Just if it is a covar binder.

  5. splitForAllForAllTyBinder_maybe :: Type -> Maybe (ForAllTyBinder, Type)

    ghc-lib-parser GHC.Core.Type

    Attempts to take a ForAllTy apart, returning the full ForAllTyBinder

  6. splitForAllTyCoVar_maybe :: Type -> Maybe (TyCoVar, Type)

    ghc-lib-parser GHC.Core.Type

    Attempts to take a ForAllTy apart, returning the Var

  7. splitForAllTyVar_maybe :: Type -> Maybe (TyVar, Type)

    ghc-lib-parser GHC.Core.Type

    Attempts to take a ForAllTy apart, but only if the binder is a TyVar

  8. splitFunTy_maybe :: Type -> Maybe (FunTyFlag, Mult, Type, Type)

    ghc-lib-parser GHC.Core.Type

    Attempts to extract the multiplicity, argument and result types from a type

  9. splitPiTy_maybe :: Type -> Maybe (PiTyBinder, Type)

    ghc-lib-parser GHC.Core.Type

    Attempts to take a forall type apart; works with proper foralls and functions

  10. splitRuntimeRep_maybe :: RuntimeRepType -> Maybe (TyCon, [Type])

    ghc-lib-parser GHC.Core.Type

    (splitRuntimeRep_maybe rr) takes a Type rr :: RuntimeRep, and returns the (TyCon,[Type]) for the RuntimeRep, if possible, where the TyCon is one of the promoted DataCons of RuntimeRep. Remember: the unique on TyCon that is a a promoted DataCon is the same as the unique on the DataCon See Note [Promoted data constructors] in GHC.Core.TyCon May not be possible if rr is a type variable or type family application

Page 202 of many | Previous | Next