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.

  1. famTyConFlav_maybe :: TyCon -> Maybe FamTyConFlav

    ghc-lib-parser GHC.Core.TyCon

    Extract the flavour of a type family (with all the extra information that it carries)

  2. isBuiltInSynFamTyCon_maybe :: TyCon -> Maybe BuiltInSynFamily

    ghc-lib-parser GHC.Core.TyCon

    No documentation available.

  3. isClosedSynFamilyTyConWithAxiom_maybe :: TyCon -> Maybe (CoAxiom Branched)

    ghc-lib-parser GHC.Core.TyCon

    Is this a non-empty closed type family? Returns Nothing for abstract or empty closed families.

  4. isPromotedDataCon_maybe :: TyCon -> Maybe DataCon

    ghc-lib-parser GHC.Core.TyCon

    Retrieves the promoted DataCon if this is a PromotedDataCon;

  5. newTyConCo_maybe :: TyCon -> Maybe (CoAxiom Unbranched)

    ghc-lib-parser GHC.Core.TyCon

    Extracts the newtype coercion from such a TyCon, which can be used to construct something with the newtypes type from its representation type (right hand side). If the supplied TyCon is not a newtype, returns Nothing

  6. newTyConDataCon_maybe :: TyCon -> Maybe DataCon

    ghc-lib-parser GHC.Core.TyCon

    No documentation available.

  7. synTyConDefn_maybe :: TyCon -> Maybe ([TyVar], Type)

    ghc-lib-parser GHC.Core.TyCon

    Extract the TyVars bound by a vanilla type synonym and the corresponding (unsubstituted) right hand side.

  8. synTyConRhs_maybe :: TyCon -> Maybe Type

    ghc-lib-parser GHC.Core.TyCon

    Extract the information pertaining to the right hand side of a type synonym (type) declaration.

  9. tyConAlgDataCons_maybe :: TyCon -> Maybe [DataCon]

    ghc-lib-parser GHC.Core.TyCon

    Returns Just dcs if the given TyCon is a data type, a tuple type or a sum type with data constructors dcs. If the TyCon has more than one constructor, or represents a primitive or function type constructor then Nothing is returned. Like tyConDataCons_maybe, but returns Nothing for newtypes.

  10. tyConAssoc_maybe :: TyCon -> Maybe TyCon

    ghc-lib-parser GHC.Core.TyCon

    Get the enclosing class TyCon (if there is one) for the given TyCon.

Page 193 of many | Previous | Next