stack-1.4.0: The Haskell Tool Stack

Safe Haskell | None
Language | Haskell2010

Stack.Types.PackageDump

Synopsis

- newtype InstalledCache = InstalledCache (IORef InstalledCacheInner)
- newtype InstalledCacheInner = InstalledCacheInner (Map GhcPkgId InstalledCacheEntry)
- data InstalledCacheEntry = InstalledCacheEntry {
  - installedCacheProfiling :: !Bool
  - installedCacheHaddock :: !Bool
  - installedCacheSymbols :: !Bool
  - installedCacheIdent :: !PackageIdentifier
  }
- installedCacheVC :: VersionConfig InstalledCacheInner

# Documentation

newtype InstalledCache #

Cached information on whether package have profiling libraries and haddocks.

Constructors

InstalledCache (IORef InstalledCacheInner) |

newtype InstalledCacheInner #

Constructors

InstalledCacheInner (Map GhcPkgId InstalledCacheEntry) |

Instances

Eq InstalledCacheInner # |
Methods (==) :: InstalledCacheInner -> InstalledCacheInner -> Bool # (/=) :: InstalledCacheInner -> InstalledCacheInner -> Bool #
Data InstalledCacheInner # |
Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstalledCacheInner -> c InstalledCacheInner # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstalledCacheInner # toConstr :: InstalledCacheInner -> Constr # dataTypeOf :: InstalledCacheInner -> DataType # dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstalledCacheInner) # dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstalledCacheInner) # gmapT :: (forall b. Data b => b -> b) -> InstalledCacheInner -> InstalledCacheInner # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstalledCacheInner -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstalledCacheInner -> r # gmapQ :: (forall d. Data d => d -> u) -> InstalledCacheInner -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> InstalledCacheInner -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstalledCacheInner -> m InstalledCacheInner # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstalledCacheInner -> m InstalledCacheInner # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstalledCacheInner -> m InstalledCacheInner #
Show InstalledCacheInner # |
Methods showsPrec :: Int -> InstalledCacheInner -> ShowS # show :: InstalledCacheInner -> String # showList :: [InstalledCacheInner] -> ShowS #
Generic InstalledCacheInner # |
Associated Types type Rep InstalledCacheInner :: * -> * # Methods from :: InstalledCacheInner -> Rep InstalledCacheInner x # to :: Rep InstalledCacheInner x -> InstalledCacheInner #
Store InstalledCacheInner # |
Methods size :: Size InstalledCacheInner # poke :: InstalledCacheInner -> Poke () # peek :: Peek InstalledCacheInner #
type Rep InstalledCacheInner # |
type Rep InstalledCacheInner = D1 (MetaData "InstalledCacheInner" "Stack.Types.PackageDump" "stack-1.4.0-5VbagGyw9hyAgBJq8WQvrq" True) (C1 (MetaCons "InstalledCacheInner" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Map GhcPkgId InstalledCacheEntry))))

data InstalledCacheEntry #

Cached information on whether a package has profiling libraries and haddocks.

Constructors

InstalledCacheEntry |
Fields installedCacheProfiling :: !Bool installedCacheHaddock :: !Bool installedCacheSymbols :: !Bool installedCacheIdent :: !PackageIdentifier

Instances

Eq InstalledCacheEntry # |
Methods (==) :: InstalledCacheEntry -> InstalledCacheEntry -> Bool # (/=) :: InstalledCacheEntry -> InstalledCacheEntry -> Bool #
Data InstalledCacheEntry # |
Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstalledCacheEntry -> c InstalledCacheEntry # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstalledCacheEntry # toConstr :: InstalledCacheEntry -> Constr # dataTypeOf :: InstalledCacheEntry -> DataType # dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstalledCacheEntry) # dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstalledCacheEntry) # gmapT :: (forall b. Data b => b -> b) -> InstalledCacheEntry -> InstalledCacheEntry # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstalledCacheEntry -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstalledCacheEntry -> r # gmapQ :: (forall d. Data d => d -> u) -> InstalledCacheEntry -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> InstalledCacheEntry -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstalledCacheEntry -> m InstalledCacheEntry # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstalledCacheEntry -> m InstalledCacheEntry # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstalledCacheEntry -> m InstalledCacheEntry #
Show InstalledCacheEntry # |
Methods showsPrec :: Int -> InstalledCacheEntry -> ShowS # show :: InstalledCacheEntry -> String # showList :: [InstalledCacheEntry] -> ShowS #
Generic InstalledCacheEntry # |
Associated Types type Rep InstalledCacheEntry :: * -> * # Methods from :: InstalledCacheEntry -> Rep InstalledCacheEntry x # to :: Rep InstalledCacheEntry x -> InstalledCacheEntry #
Store InstalledCacheEntry # |
Methods size :: Size InstalledCacheEntry # poke :: InstalledCacheEntry -> Poke () # peek :: Peek InstalledCacheEntry #
type Rep InstalledCacheEntry # |
type Rep InstalledCacheEntry = D1 (MetaData "InstalledCacheEntry" "Stack.Types.PackageDump" "stack-1.4.0-5VbagGyw9hyAgBJq8WQvrq" False) (C1 (MetaCons "InstalledCacheEntry" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "installedCacheProfiling") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "installedCacheHaddock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "installedCacheSymbols") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "installedCacheIdent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PackageIdentifier)))))

installedCacheVC :: VersionConfig InstalledCacheInner #