| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.VersionList
Description
Bounded inventory accumulation counts source entries before unusable releases and duplicates drop.
Synopsis
Documentation
data VersionListItem Source #
Container markers distinguish an empty inventory from a document of the wrong shape.
data VersionListState Source #
Count every observed entry, retaining only usable identifiers in source-key order.
emptyVersionList :: VersionListState Source #
Start without assuming that the response contains an inventory object.
collectVersionList :: Limits -> VersionListState -> VersionListItem -> Either LimitError VersionListState Source #
Apply the ceiling before inserting a usable identifier or discarding an unusable entry.
finishVersionList :: VersionListState -> Either ParseError [Version] Source #
Refuse invalid response and inventory containers instead of certifying an empty store.