Hoogle Search
Within LTS Haskell 24.62 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
ImportLookupIllegal :: ImportLookupReasonghc GHC.Tc.Errors.Types Something completely unexpected is in an import list, like module Foo. Test cases: ImportLookupIllegal
ImportLookupQualified :: RdrName -> ImportLookupReasonghc GHC.Tc.Errors.Types A name is specified with a qualifying module. Test cases: T3792
-
ghc GHC.Tc.Errors.Types Different types of errors for import lookup.
TcRnGhciMonadLookupFail :: String -> Maybe [GlobalRdrElt] -> TcRnMessageghc GHC.Tc.Errors.Types TcRnGhciMonadLookupFail is an error that occurs when the user sets the GHCi monad, using the GHC API setGHCiMonad function, but GHC can't find which monad the user is referring to. Example: import GHC ( setGHCiMonad ) ... setGHCiMonad NoSuchThing Test cases: none
TcRnImportLookup :: ImportLookupReason -> TcRnMessageghc GHC.Tc.Errors.Types TcRnImportLookup is a group of errors about bad imported names.
TcRnLookupInstance :: Class -> [Type] -> LookupInstanceErrReason -> TcRnMessageghc GHC.Tc.Errors.Types TcRnLookupInstance groups several errors emitted when looking up class instances. Test cases: none
tcLookupDataFamInst :: FamInstEnvs -> TyCon -> [TcType] -> (TyCon, [TcType], Coercion)ghc GHC.Tc.Instance.Family Like tcLookupDataFamInst_maybe, but returns the arguments back if there is no data family to unwrap. Returns a Representational coercion
tcLookupDataFamInst_maybe :: FamInstEnvs -> TyCon -> [TcType] -> Maybe (TyCon, [TcType], Coercion)ghc GHC.Tc.Instance.Family Converts a data family type (eg F [a]) to its representation type (eg FList a) and returns a coercion between the two: co :: F [a] ~R FList a.
tcRnLookupName :: HscEnv -> Name -> IO (Messages TcRnMessage, Maybe TyThing)ghc GHC.Tc.Module No documentation available.
tcRnLookupRdrName :: HscEnv -> LocatedN RdrName -> IO (Messages TcRnMessage, Maybe [Name])ghc GHC.Tc.Module Find all the Names that this RdrName could mean, in GHCi