ghcide-2.9.0.0: The core of an IDE

Safe Haskell | None
Language | GHC2021

Development.IDE.GHC.Orphans

Contents

- Orphan instances

Description

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

# Orphan instances

FromJSON RealSrcSpan # |
Instance details Methods parseJSON :: Value -> Parser RealSrcSpan # parseJSONList :: Value -> Parser [RealSrcSpan] # omittedField :: Maybe RealSrcSpan #
ToJSON RealSrcSpan # |
Instance details Methods toJSON :: RealSrcSpan -> Value # toEncoding :: RealSrcSpan -> Encoding # toJSONList :: [RealSrcSpan] -> Value # toEncodingList :: [RealSrcSpan] -> Encoding # omitField :: RealSrcSpan -> Bool #
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 #
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 ModLocation # |
Instance details Methods rnf :: ModLocation -> () #
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 WholeCoreBindings # |
Instance details Methods rnf :: WholeCoreBindings -> () #
NFData UnitId # |
Instance details Methods rnf :: UnitId -> () #
NFData Extension # |
Instance details Methods rnf :: Extension -> () #
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 Methods showsPrec :: Int -> InteractiveImport -> ShowS # show :: InteractiveImport -> String # showList :: [InteractiveImport] -> ShowS #
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 #
Ord FastString # |
Instance details Methods compare :: FastString -> FastString -> Ordering # (<) :: FastString -> FastString -> Bool # (<=) :: FastString -> FastString -> Bool # (>) :: FastString -> FastString -> Bool # (>=) :: FastString -> FastString -> Bool # max :: FastString -> FastString -> FastString # min :: FastString -> FastString -> FastString #
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 #
NFData a => NFData (IdentifierDetails a) # |
Instance details Methods rnf :: IdentifierDetails a -> () #
NFData (EpAnn a) # |
Instance details Methods rnf :: EpAnn 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) -> () #
Show a => Show (Bag a) # |
Instance details Methods showsPrec :: Int -> Bag a -> ShowS # show :: Bag a -> String # showList :: [Bag a] -> ShowS #
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 #