Hoogle Search

Within LTS Haskell 24.19 (ghc-9.10.3)

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

  1. DerivErrDunnoHowToDeriveForType :: Type -> DeriveInstanceErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    GHC simply doesn't how to how derive the input Class for the given Type.

  2. DerivErrEnumOrProduct :: DeriveInstanceErrReason -> DeriveInstanceErrReason -> DeriveInstanceErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    We couldn't derive an instance either because the type was not an enum type or because it did have more than one constructor.

  3. DerivErrGNDUsedOnData :: DeriveInstanceErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    We cannot use GND on non-newtype types

  4. DerivErrGenerics :: [DeriveGenericsErrReason] -> DeriveInstanceErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    We couldn't derive a Generic instance for the given type for a variety of reasons

  5. DerivErrGenericsMustBeVanillaDataCon :: DataCon -> DeriveGenericsErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    The data constructor must be a vanilla constructor.

  6. DerivErrGenericsMustHaveSomeTypeParams :: TyCon -> DeriveGenericsErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    The type must have some type parameters. check (d) from Note [Requirements for deriving Generic and Rep] in GHC.Tc.Deriv.Generics.

  7. DerivErrGenericsMustNotHaveDatatypeContext :: TyCon -> DeriveGenericsErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    The type must not have some datatype context.

  8. DerivErrGenericsMustNotHaveExistentials :: DataCon -> DeriveGenericsErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    The data constructor must not have existential arguments.

  9. DerivErrGenericsMustNotHaveExoticArgs :: DataCon -> DeriveGenericsErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    The data constructor must not have exotic unlifted or polymorphic arguments.

  10. DerivErrGenericsWrongArgKind :: DataCon -> DeriveGenericsErrReason

    ghc-lib-parser GHC.Tc.Errors.Types

    The derivation applies a type to an argument involving the last parameter but the applied type is not of kind * -> *.

Page 75 of many | Previous | Next