HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecabal-install-3.12.1.0Haskell2010

Distribution.Client.IndexUtils.IndexState

Package repositories index state.

  • 2 types
  • 4 values
datadata RepoIndexState
#

Specification of the state of a specific repo package index

Constructors

Instances9Eq, Show, Generic, NFData, Binary, Parsec, …
datadata TotalIndexState
#

Index state of multiple repositories

Instances9Eq, Show, Generic, NFData, Binary, Parsec, …
  • Eq TotalIndexStateDefined in cabal-install-3.12.1.0 · Distribution.Client.IndexUtils.IndexState
  • Show TotalIndexStateDefined in cabal-install-3.12.1.0 · Distribution.Client.IndexUtils.IndexState
  • Generic TotalIndexStateDefined in cabal-install-3.12.1.0 · Distribution.Client.IndexUtils.IndexState
  • NFData TotalIndexStateDefined in cabal-install-3.12.1.0 · Distribution.Client.IndexUtils.IndexState
  • Binary TotalIndexStateDefined in cabal-install-3.12.1.0 · Distribution.Client.IndexUtils.IndexState
  • Parsec TotalIndexStateDefined in cabal-install-3.12.1.0 · Distribution.Client.IndexUtils.IndexState
    Example1 expression
    simpleParsec "HEAD" :: Maybe TotalIndexStateJust (TIS IndexStateHead (fromList []))
    Example1 expression
    simpleParsec "" :: Maybe TotalIndexStateNothing
    Example1 expression
    simpleParsec "hackage.haskell.org HEAD" :: Maybe TotalIndexStateJust (TIS IndexStateHead (fromList []))
    Example1 expression
    simpleParsec "2020-02-04T12:34:56Z, hackage.haskell.org HEAD" :: Maybe TotalIndexStateJust (TIS (IndexStateTime (TS 1580819696)) (fromList [(RepoName {unRepoName = "hackage.haskell.org"},IndexStateHead)]))
    Example1 expression
    simpleParsec "hackage.haskell.org 2020-02-04T12:34:56Z" :: Maybe TotalIndexStateJust (TIS IndexStateHead (fromList [(RepoName {unRepoName = "hackage.haskell.org"},IndexStateTime (TS 1580819696))]))
  • Pretty TotalIndexStateDefined in cabal-install-3.12.1.0 · Distribution.Client.IndexUtils.IndexState
  • Structured TotalIndexStateDefined in cabal-install-3.12.1.0 · Distribution.Client.IndexUtils.IndexState
  • type Rep TotalIndexState = D1 ('MetaData "TotalIndexState" "Distribution.Client.IndexUtils.IndexState" "cabal-install-3.12.1.0-1D90DH9PPem9Tqn79I9vRN" 'False) (C1 ('MetaCons "TIS" 'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RepoIndexState) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map RepoName RepoIndexState))))Defined in cabal-install-3.12.1.0 · Distribution.Client.IndexUtils.IndexState