ghcide-2.4.0.0: The core of an IDE
Safe HaskellSafe-Inferred
LanguageHaskell2010

Development.IDE.GHC.Orphans

Description

Orphan instances for GHC. Note that the NFData instances may not be law abiding.

Orphan instances

FromJSON RealSrcSpan # 
Instance details

ToJSON RealSrcSpan # 
Instance details

Bifunctor GenLocated # 
Instance details

Methods

bimap :: (a -> b) -> (c -> d) -> GenLocated a c -> GenLocated b d #

first :: (a -> b) -> GenLocated a c -> GenLocated b c #

second :: (b -> c) -> GenLocated a b -> GenLocated a c #

Functor SrcSpanAnn' # 
Instance details

Methods

fmap :: (a -> b) -> SrcSpanAnn' a -> SrcSpanAnn' b #

(<$) :: a -> SrcSpanAnn' b -> SrcSpanAnn' a #

Show CoreModule # 
Instance details

Methods

showsPrec :: Int -> CoreModule -> ShowS #

show :: CoreModule -> String #

showList :: [CoreModule] -> ShowS #

Show ParsedModule # 
Instance details

Methods

showsPrec :: Int -> ParsedModule -> ShowS #

show :: ParsedModule -> String #

showList :: [ParsedModule] -> ShowS #

Show PackageFlag # 
Instance details

Methods

showsPrec :: Int -> PackageFlag -> ShowS #

show :: PackageFlag -> String #

showList :: [PackageFlag] -> ShowS #

Show HieFile # 
Instance details

Methods

showsPrec :: Int -> HieFile -> ShowS #

show :: HieFile -> String #

showList :: [HieFile] -> ShowS #

Show Linkable # 
Instance details

Methods

showsPrec :: Int -> Linkable -> ShowS #

show :: Linkable -> String #

showList :: [Linkable] -> ShowS #

Show InteractiveImport # 
Instance details

Show OccName # 
Instance details

Methods

showsPrec :: Int -> OccName -> ShowS #

show :: OccName -> String #

showList :: [OccName] -> ShowS #

Show HomeModInfo # 
Instance details

Methods

showsPrec :: Int -> HomeModInfo -> ShowS #

show :: HomeModInfo -> String #

showList :: [HomeModInfo] -> ShowS #

Show PackageName # 
Instance details

Methods

showsPrec :: Int -> PackageName -> ShowS #

show :: PackageName -> String #

showList :: [PackageName] -> ShowS #

Show ModuleGraph # 
Instance details

Methods

showsPrec :: Int -> ModuleGraph -> ShowS #

show :: ModuleGraph -> String #

showList :: [ModuleGraph] -> ShowS #

Show ModDetails # 
Instance details

Methods

showsPrec :: Int -> ModDetails -> ShowS #

show :: ModDetails -> String #

showList :: [ModDetails] -> ShowS #

Show CgGuts # 
Instance details

Methods

showsPrec :: Int -> CgGuts -> ShowS #

show :: CgGuts -> String #

showList :: [CgGuts] -> ShowS #

Show ModGuts # 
Instance details

Methods

showsPrec :: Int -> ModGuts -> ShowS #

show :: ModGuts -> String #

showList :: [ModGuts] -> ShowS #

Show ModSummary # 
Instance details

Methods

showsPrec :: Int -> ModSummary -> ShowS #

show :: ModSummary -> String #

showList :: [ModSummary] -> ShowS #

Show Module # 
Instance details

Methods

showsPrec :: Int -> Module -> ShowS #

show :: Module -> String #

showList :: [Module] -> ShowS #

Show UnitId # 
Instance details

Methods

showsPrec :: Int -> UnitId -> ShowS #

show :: UnitId -> String #

showList :: [UnitId] -> ShowS #

NFData CoreModule # 
Instance details

Methods

rnf :: CoreModule -> () #

NFData ParsedModule # 
Instance details

Methods

rnf :: ParsedModule -> () #

NFData Type # 
Instance details

Methods

rnf :: Type -> () #

NFData StringBuffer # 
Instance details

Methods

rnf :: StringBuffer -> () #

NFData HieFile # 
Instance details

Methods

rnf :: HieFile -> () #

NFData Linkable # 
Instance details

Methods

rnf :: Linkable -> () #

NFData Unlinked # 
Instance details

Methods

rnf :: Unlinked -> () #

NFData PkgQual # 
Instance details

Methods

rnf :: PkgQual -> () #

NFData SafeHaskellMode # 
Instance details

Methods

rnf :: SafeHaskellMode -> () #

NFData RealSrcSpan # 
Instance details

Methods

rnf :: RealSrcSpan -> () #

NFData HomeModInfo # 
Instance details

Methods

rnf :: HomeModInfo -> () #

NFData HomeModLinkable # 
Instance details

Methods

rnf :: HomeModLinkable -> () #

NFData ModuleGraph # 
Instance details

Methods

rnf :: ModuleGraph -> () #

NFData NodeKey # 
Instance details

Methods

rnf :: NodeKey -> () #

NFData ModDetails # 
Instance details

Methods

rnf :: ModDetails -> () #

NFData CgGuts # 
Instance details

Methods

rnf :: CgGuts -> () #

NFData ModGuts # 
Instance details

Methods

rnf :: ModGuts -> () #

NFData ModSummary # 
Instance details

Methods

rnf :: ModSummary -> () #

NFData UnitId # 
Instance details

Methods

rnf :: UnitId -> () #

NFData Extension # 
Instance details

Methods

rnf :: Extension -> () #

Ord FastString # 
Instance details

Ord SrcSpan # 
Instance details

Methods

compare :: SrcSpan -> SrcSpan -> Ordering

(<) :: SrcSpan -> SrcSpan -> Bool

(<=) :: SrcSpan -> SrcSpan -> Bool

(>) :: SrcSpan -> SrcSpan -> Bool

(>=) :: SrcSpan -> SrcSpan -> Bool

max :: SrcSpan -> SrcSpan -> SrcSpan

min :: SrcSpan -> SrcSpan -> SrcSpan

Ord UnhelpfulSpanReason # 
Instance details

Methods

compare :: UnhelpfulSpanReason -> UnhelpfulSpanReason -> Ordering

(<) :: UnhelpfulSpanReason -> UnhelpfulSpanReason -> Bool

(<=) :: UnhelpfulSpanReason -> UnhelpfulSpanReason -> Bool

(>) :: UnhelpfulSpanReason -> UnhelpfulSpanReason -> Bool

(>=) :: UnhelpfulSpanReason -> UnhelpfulSpanReason -> Bool

max :: UnhelpfulSpanReason -> UnhelpfulSpanReason -> UnhelpfulSpanReason

min :: UnhelpfulSpanReason -> UnhelpfulSpanReason -> UnhelpfulSpanReason

Hashable OccName # 
Instance details

Methods

hashWithSalt :: Int -> OccName -> Int #

hash :: OccName -> Int #

Hashable ModuleName # 
Instance details

Methods

hashWithSalt :: Int -> ModuleName -> Int #

hash :: ModuleName -> Int #

Show a => Show (Bag a) # 
Instance details

Methods

showsPrec :: Int -> Bag a -> ShowS #

show :: Bag a -> String #

showList :: [Bag a] -> ShowS #

NFData a => NFData (IdentifierDetails a) # 
Instance details

Methods

rnf :: IdentifierDetails a -> () #

NFData (SrcSpanAnn' a) # 
Instance details

Methods

rnf :: SrcSpanAnn' a -> () #

NFData (HsModule a) # 
Instance details

Methods

rnf :: HsModule a -> () #

NFData (HsExpr (GhcPass 'Renamed)) # 
Instance details

Methods

rnf :: HsExpr (GhcPass 'Renamed) -> () #

NFData (ImportDecl GhcPs) # 
Instance details

Methods

rnf :: ImportDecl GhcPs -> () #

NFData (Pat (GhcPass 'Renamed)) # 
Instance details

Methods

rnf :: Pat (GhcPass 'Renamed) -> () #

NFData (UniqFM Name [Name]) # 
Instance details

Methods

rnf :: UniqFM Name [Name] -> () #

Semigroup (m a) => Semigroup (ReaderT r m a) # 
Instance details

Methods

(<>) :: ReaderT r m a -> ReaderT r m a -> ReaderT r m a #

sconcat :: NonEmpty (ReaderT r m a) -> ReaderT r m a #

stimes :: Integral b => b -> ReaderT r m a -> ReaderT r m a #