Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
InstHeadNonClass :: !Maybe TyCon -> IllegalInstanceHeadReasonghc-lib-parser GHC.Tc.Errors.Types An instance whose head is not a class. Examples(s): instance c instance 42 instance !Show D type C1 a = (Show (a -> Bool)) instance C1 Int where Test cases: typecheckrenameT5513 typecheckrenameT16385 parsershould_failT3811c renameshould_failT18240a polykinds/T13267 derivingshould_failT23522
InstHeadNonTyVarArgs :: IllegalInstanceHeadReasonghc-lib-parser GHC.Tc.Errors.Types Instance head was not of the form T a1 ... an, where a1, ..., an are all type variables or literals. Example: instance Num [Int] where {..} Test cases: mod41, mod42, tcfail044, tcfail047.
InstHeadTySynArgs :: IllegalInstanceHeadReasonghc-lib-parser GHC.Tc.Errors.Types Instance head was headed by a type synonym. Example: type MyInt = Int class C a where {..} instance C MyInt where {..} Test cases: drvfail015, mod42, TidyClassKinds, tcfail139
InvalidTypeInstanceHeader :: Type -> ConversionFailReasonghc-lib-parser GHC.Tc.Errors.Types No documentation available.
NFC_InstanceHead :: NestedForallsContextsInghc-lib-parser GHC.Tc.Errors.Types Nested forall in an instance head
NFC_StandaloneDerivedInstanceHead :: NestedForallsContextsInghc-lib-parser GHC.Tc.Errors.Types Nested forall in a standalone deriving instance head
SCD_HeadTyFam :: PredType -> SuperclassCycleDetailghc-lib-parser GHC.Tc.Errors.Types No documentation available.
SCD_HeadTyVar :: PredType -> SuperclassCycleDetailghc-lib-parser GHC.Tc.Errors.Types No documentation available.
TcRnBadQuantPredHead :: Type -> TcRnMessageghc-lib-parser GHC.Tc.Errors.Types TcRnBadQuantPredHead is an error that occurs whenever a quantified predicate lacks a class or type variable head. Examples(s): class (forall a. A t a => A t [a]) => B t where type A t a :: Constraint Test cases: quantified-constraints/T16474
-
ghc-lib-parser GHC.Tc.Utils.TcType No documentation available.