| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.PyPI.Document
Description
Compact Simple indexes keep original file coordinates independently of retained order.
Synopsis
- data SimpleDocument
- simpleDocument :: Object -> [(EntryKey, Value)] -> SimpleDocument
- simpleEnvelope :: SimpleDocument -> Object
- simpleFiles :: SimpleDocument -> [(EntryKey, Value)]
- simpleEncoding :: SimpleDocument -> Encoding
Documentation
data SimpleDocument Source #
Supported envelope fields and files associated with their original source positions.
Instances
| Show SimpleDocument Source # | |
Defined in Ecluse.Core.Registry.PyPI.Document Methods showsPrec :: Int -> SimpleDocument -> ShowS # show :: SimpleDocument -> String # showList :: [SimpleDocument] -> ShowS # | |
| Eq SimpleDocument Source # | |
Defined in Ecluse.Core.Registry.PyPI.Document Methods (==) :: SimpleDocument -> SimpleDocument -> Bool # (/=) :: SimpleDocument -> SimpleDocument -> Bool # | |
simpleDocument :: Object -> [(EntryKey, Value)] -> SimpleDocument Source #
Bind compact files to their source coordinates before admission or assembly.
simpleEnvelope :: SimpleDocument -> Object Source #
Supported top-level fields, excluding the file array.
simpleFiles :: SimpleDocument -> [(EntryKey, Value)] Source #
Original keys in source order, including gaps left by discarded files.
simpleEncoding :: SimpleDocument -> Encoding Source #
Encode the envelope with the retained files in source order. Source coordinates stay internal.