| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Stack.Types.Snapshot
Synopsis
- data AbstractSnapshot
- readAbstractSnapshot :: ReadM (Unresolved AbstractSnapshot)
- data Snapshots = Snapshots {}
Documentation
data AbstractSnapshot Source #
Either an actual snapshot value, or an abstract description of one (e.g., latest nightly).
Constructors
| ASLatestNightly | |
| ASLatestLTS | |
| ASLatestLTSMajor !Int | |
| ASSnapshot !RawSnapshotLocation | |
| ASGlobal |
Instances
| Show AbstractSnapshot Source # | |
Defined in Stack.Types.Snapshot Methods showsPrec :: Int -> AbstractSnapshot -> ShowS # show :: AbstractSnapshot -> String # showList :: [AbstractSnapshot] -> ShowS # | |
| Display AbstractSnapshot Source # | |
Defined in Stack.Types.Snapshot | |
| FromJSON (Unresolved AbstractSnapshot) Source # | |
Defined in Stack.Types.Snapshot Methods parseJSON :: Value -> Parser (Unresolved AbstractSnapshot) # parseJSONList :: Value -> Parser [Unresolved AbstractSnapshot] # | |