Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module name is spurious - Release is not an official term in the debian documentation.
Synopsis
- newtype Section = Section String
- data SubSection = SubSection {}
- sectionName :: SubSection -> String
- sectionName' :: Section -> String
- sectionNameOfSubSection :: SubSection -> String
- parseSection :: String -> SubSection
- parseSection' :: String -> Section
Documentation
A section of a repository such as main, contrib, non-free, restricted. The indexes for a section are located below the distribution directory.
data SubSection Source #
A package's subsection is only evident in its control information, packages from different subsections all reside in the same index.
Instances
Eq SubSection Source # | |
Defined in Debian.Release (==) :: SubSection -> SubSection -> Bool # (/=) :: SubSection -> SubSection -> Bool # | |
Ord SubSection Source # | |
Defined in Debian.Release compare :: SubSection -> SubSection -> Ordering # (<) :: SubSection -> SubSection -> Bool # (<=) :: SubSection -> SubSection -> Bool # (>) :: SubSection -> SubSection -> Bool # (>=) :: SubSection -> SubSection -> Bool # max :: SubSection -> SubSection -> SubSection # min :: SubSection -> SubSection -> SubSection # | |
Read SubSection Source # | |
Defined in Debian.Release readsPrec :: Int -> ReadS SubSection # readList :: ReadS [SubSection] # readPrec :: ReadPrec SubSection # readListPrec :: ReadPrec [SubSection] # | |
Show SubSection Source # | |
Defined in Debian.Release showsPrec :: Int -> SubSection -> ShowS # show :: SubSection -> String # showList :: [SubSection] -> ShowS # |
sectionName :: SubSection -> String Source #
sectionName' :: Section -> String Source #
parseSection :: String -> SubSection Source #
Parse the value that appears in the Section
field of a .changes file.
(Does this need to be unesacped?)
parseSection' :: String -> Section Source #